Serializable
, Comparable<Team.OptionStatus>
public static enum Team.OptionStatus extends Enum<Team.OptionStatus>
Enum Constant | Description |
---|---|
ALWAYS |
Apply this option to everyone.
|
FOR_OTHER_TEAMS |
Apply this option only for opposing teams.
|
FOR_OWN_TEAM |
Apply this option for only team members.
|
NEVER |
Never apply this option.
|
Modifier and Type | Method | Description |
---|---|---|
static Team.OptionStatus |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Team.OptionStatus[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Team.OptionStatus ALWAYS
public static final Team.OptionStatus NEVER
public static final Team.OptionStatus FOR_OTHER_TEAMS
public static final Team.OptionStatus FOR_OWN_TEAM
public static Team.OptionStatus[] values()
for (Team.OptionStatus c : Team.OptionStatus.values()) System.out.println(c);
public static Team.OptionStatus 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 © 2019. All rights reserved.