Serializable, Comparable<CheckoutCommand.Stage>public static enum CheckoutCommand.Stage extends Enum<CheckoutCommand.Stage>
CheckoutCommand.setStage(Stage).| Enum Constant | Description |
|---|---|
BASE |
Base stage (#1)
|
OURS |
Ours stage (#2)
|
THEIRS |
Theirs stage (#3)
|
| Modifier and Type | Method | Description |
|---|---|---|
static CheckoutCommand.Stage |
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.