class Checkout extends TextBuiltin
TextBuiltin.TerminatedByHelpException| Modifier and Type | Field and Description |
|---|---|
private boolean |
createBranch |
private boolean |
force |
private java.lang.String |
name |
private boolean |
orphan |
private java.util.List<java.lang.String> |
paths |
| Constructor and Description |
|---|
Checkout() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
run()
Perform the actions of this command.
|
abbreviateRef, containsHelp, die, die, die, die, execute, getErrorWriter, getOutputWriter, getRepository, getResourceBundle, init, initRaw, parseArguments, printUsage, printUsageAndExit, printUsageAndExit, requiresRepository, resolve, setCommandNameprivate boolean createBranch
private boolean force
private boolean orphan
private java.lang.String name
private java.util.List<java.lang.String> paths
protected void run()
throws java.lang.Exception
This method should only be invoked by TextBuiltin.execute(String[]).
run in class TextBuiltinjava.lang.Exception - an error occurred while processing the command. The main
framework will catch the exception and print a message on
standard error.