Package org.eclipse.jgit.pgm
Class LsRemote
- java.lang.Object
-
- org.eclipse.jgit.pgm.TextBuiltin
-
- org.eclipse.jgit.pgm.LsRemote
-
class LsRemote extends TextBuiltin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jgit.pgm.TextBuiltin
TextBuiltin.TerminatedByHelpException
-
-
Constructor Summary
Constructors Constructor Description LsRemote()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
private void
show(Ref ref, java.lang.String name)
-
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
-
-
-
-
Method Detail
-
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
private void show(AnyObjectId id, java.lang.String name) throws java.io.IOException
- Throws:
java.io.IOException
-
show
private void show(Ref ref, java.lang.String name) throws java.io.IOException
- Throws:
java.io.IOException
-
-