Package org.eclipse.jgit.pgm
Class LsRemote
java.lang.Object
org.eclipse.jgit.pgm.TextBuiltin
org.eclipse.jgit.pgm.LsRemote
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.pgm.TextBuiltin
TextBuiltin.TerminatedByHelpException -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate Stringprivate booleanprivate boolean(package private) int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanIf this command requires a repository.protected voidrun()Perform the actions of this command.private voidshow(AnyObjectId id, String name) private voidMethods inherited from class org.eclipse.jgit.pgm.TextBuiltin
abbreviateRef, containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, resolve, setCommandName
-
Field Details
-
heads
private boolean heads -
tags
private boolean tags -
timeout
int timeout -
symref
private boolean symref -
remote
-
-
Constructor Details
-
LsRemote
LsRemote()
-
-
Method Details
-
run
protected void run()Perform the actions of this command.This method should only be invoked by
TextBuiltin.execute(String[]).- Specified by:
runin classTextBuiltin
-
requiresRepository
protected boolean requiresRepository()If this command requires a repository.- Overrides:
requiresRepositoryin classTextBuiltin- Returns:
- true if
TextBuiltin.db/TextBuiltin.getRepository()is required
-
show
- Throws:
IOException
-
show
- Throws:
IOException
-