Package org.eclipse.jgit.pgm
Class Remote
- java.lang.Object
-
- org.eclipse.jgit.pgm.TextBuiltin
-
- org.eclipse.jgit.pgm.Remote
-
class Remote extends TextBuiltin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jgit.pgm.TextBuiltin
TextBuiltin.TerminatedByHelpException
-
-
Constructor Summary
Constructors Constructor Description Remote()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
print(java.util.List<RemoteConfig> remotes)
void
printUsage(java.lang.String message, CmdLineParser clp)
Print usage help text.protected void
run()
Perform the actions of this command.-
Methods inherited from class org.eclipse.jgit.pgm.TextBuiltin
abbreviateRef, containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsageAndExit, printUsageAndExit, requiresRepository, 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
-
printUsage
public void printUsage(java.lang.String message, CmdLineParser clp) throws java.io.IOException
Print usage help text.- Overrides:
printUsage
in classTextBuiltin
- Parameters:
message
- non nullclp
- parser used to print options- Throws:
java.io.IOException
-
print
private void print(java.util.List<RemoteConfig> remotes) throws java.io.IOException
- Throws:
java.io.IOException
-
-