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, setCommandNameprivate boolean heads
private boolean tags
int timeout
private java.lang.String remote
protected void run()
throws java.lang.Exception
This method should only be invoked by TextBuiltin.execute(String[]).
run in class TextBuiltinjava.lang.Exception - an error occurred while processing the command. The main
framework will catch the exception and print a message on
standard error.protected boolean requiresRepository()
requiresRepository in class TextBuiltinTextBuiltin.db/TextBuiltin.getRepository() is requiredprivate void show(AnyObjectId id, java.lang.String name) throws java.io.IOException
java.io.IOException