public static enum CheckoutCommand.Stage extends java.lang.Enum<CheckoutCommand.Stage>
CheckoutCommand.setStage(Stage)
.Enum Constant and Description |
---|
BASE
Base stage (#1)
|
OURS
Ours stage (#2)
|
THEIRS
Theirs stage (#3)
|
Modifier and Type | Field and Description |
---|---|
private int |
number |
Modifier and Type | Method and Description |
---|---|
static CheckoutCommand.Stage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CheckoutCommand.Stage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckoutCommand.Stage BASE
public static final CheckoutCommand.Stage OURS
public static final CheckoutCommand.Stage THEIRS
public static CheckoutCommand.Stage[] values()
for (CheckoutCommand.Stage c : CheckoutCommand.Stage.values()) System.out.println(c);
public static CheckoutCommand.Stage valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null