Package org.eclipse.jgit.pgm
Class Checkout
java.lang.Object
org.eclipse.jgit.pgm.TextBuiltin
org.eclipse.jgit.pgm.Checkout
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.pgm.TextBuiltin
TextBuiltin.TerminatedByHelpException
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private boolean
private boolean
private String
private boolean
-
Constructor Summary
Constructors -
Method Summary
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
-
Field Details
-
createBranch
private boolean createBranch -
forceSwitchBranch
private boolean forceSwitchBranch -
forced
private boolean forced -
orphan
private boolean orphan -
name
-
paths
-
-
Constructor Details
-
Checkout
Checkout()
-
-
Method Details
-
run
Perform the actions of this command.This method should only be invoked by
TextBuiltin.execute(String[])
.- Specified by:
run
in classTextBuiltin
- Throws:
Exception
- an error occurred while processing the command. The main framework will catch the exception and print a message on standard error.
-