Package org.eclipse.jgit.pgm
Class Remote
java.lang.Object
org.eclipse.jgit.pgm.TextBuiltin
org.eclipse.jgit.pgm.Remote
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.pgm.TextBuiltin
TextBuiltin.TerminatedByHelpException -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprint(List<RemoteConfig> remotes) voidprintUsage(String message, CmdLineParser clp) Print usage help text.protected voidrun()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
-
Field Details
-
verbose
private boolean verbose -
prune
private boolean prune -
push
private boolean push -
command
-
name
-
uri
-
-
Constructor Details
-
Remote
Remote()
-
-
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
-
printUsage
Print usage help text.- Overrides:
printUsagein classTextBuiltin- Parameters:
message- non nullclp- parser used to print options- Throws:
IOException
-
print
- Throws:
IOException
-