static enum CloneCommand.Mode extends Enum<CloneCommand.Mode>
Modifier and Type | Field and Description |
---|---|
private boolean |
allowsOverlap |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsOverlap() |
static CloneCommand.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloneCommand.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloneCommand.Mode FORCE
public static final CloneCommand.Mode MOVE
public static final CloneCommand.Mode NORMAL
public static CloneCommand.Mode[] values()
for (CloneCommand.Mode c : CloneCommand.Mode.values()) System.out.println(c);
public static CloneCommand.Mode 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 nullpublic boolean allowsOverlap()