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 boolean
private String
private boolean
private boolean
(package private) int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
If this command requires a repository.protected void
run()
Perform the actions of this command.private void
show
(AnyObjectId id, String name) private void
Methods 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:
run
in classTextBuiltin
-
requiresRepository
protected boolean requiresRepository()If this command requires a repository.- Overrides:
requiresRepository
in classTextBuiltin
- Returns:
- true if
TextBuiltin.db
/TextBuiltin.getRepository()
is required
-
show
- Throws:
IOException
-
show
- Throws:
IOException
-