public static enum Round.EndParameter.RollbackBehavior extends Enum<Round.EndParameter.RollbackBehavior> implements Round.EndParameter
Round.EndParameter.RollbackBehavior
Enum Constant and Description |
---|
DO_ROLLBACK
|
SKIP_ROLLBACK
|
Modifier and Type | Method and Description |
---|---|
static Round.EndParameter.RollbackBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Round.EndParameter.RollbackBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Round.EndParameter.RollbackBehavior DO_ROLLBACK
Arena
should be rolled back upon the
Round
ending.
This is the default behavior is ConfigNode.ROLLBACK_ON_END
is true
.
public static final Round.EndParameter.RollbackBehavior SKIP_ROLLBACK
Arena
should not be
rolled back upon the Round
ending.
This is the default behavior is ConfigNode.ROLLBACK_ON_END
is false
.
public static Round.EndParameter.RollbackBehavior[] values()
for (Round.EndParameter.RollbackBehavior c : Round.EndParameter.RollbackBehavior.values()) System.out.println(c);
public static Round.EndParameter.RollbackBehavior 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 null