Package org.eclipse.jgit.pgm
Class Add
- java.lang.Object
-
- org.eclipse.jgit.pgm.TextBuiltin
-
- org.eclipse.jgit.pgm.Add
-
class Add extends TextBuiltin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jgit.pgm.TextBuiltin
TextBuiltin.TerminatedByHelpException
-
-
Constructor Summary
Constructors Constructor Description Add()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, printUsage, printUsageAndExit, printUsageAndExit, requiresRepository, resolve, setCommandName
-
-
-
-
Method Detail
-
run
protected void run() throws java.lang.Exception
Perform the actions of this command.This method should only be invoked by
TextBuiltin.execute(String[])
.- Specified by:
run
in classTextBuiltin
- Throws:
java.lang.Exception
- an error occurred while processing the command. The main framework will catch the exception and print a message on standard error.
-
-