java.io.Serializable
, java.lang.Comparable<Team.OptionStatus>
public static enum Team.OptionStatus extends java.lang.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(java.lang.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(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 nullCopyright © 2018. All rights reserved.