class LsRemote extends TextBuiltin
TextBuiltin.TerminatedByHelpException
Modifier and Type | Field and Description |
---|---|
private boolean |
heads |
private java.lang.String |
remote |
private boolean |
tags |
(package private) int |
timeout |
Constructor and Description |
---|
LsRemote() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
requiresRepository()
If this command requires a repository.
|
protected void |
run()
Perform the actions of this command.
|
private void |
show(AnyObjectId id,
java.lang.String name) |
abbreviateRef, containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, resolve, setCommandName
private boolean heads
private boolean tags
int timeout
private java.lang.String remote
protected void run()
This method should only be invoked by TextBuiltin.execute(String[])
.
run
in class TextBuiltin
protected boolean requiresRepository()
requiresRepository
in class TextBuiltin
TextBuiltin.db
/TextBuiltin.getRepository()
is requiredprivate void show(AnyObjectId id, java.lang.String name) throws java.io.IOException
java.io.IOException