public static enum Team.EnumVisible extends java.lang.Enum<Team.EnumVisible>
Enum Constant and Description |
---|
ALWAYS |
HIDE_FOR_OTHER_TEAMS |
HIDE_FOR_OWN_TEAM |
NEVER |
Modifier and Type | Field and Description |
---|---|
int |
id |
java.lang.String |
internalName |
Modifier and Type | Method and Description |
---|---|
static Team.EnumVisible |
getByName(java.lang.String nameIn) |
static java.lang.String[] |
getNames() |
static Team.EnumVisible |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Team.EnumVisible[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Team.EnumVisible ALWAYS
public static final Team.EnumVisible NEVER
public static final Team.EnumVisible HIDE_FOR_OTHER_TEAMS
public static final Team.EnumVisible HIDE_FOR_OWN_TEAM
public static Team.EnumVisible[] values()
for (Team.EnumVisible c : Team.EnumVisible.values()) System.out.println(c);
public static Team.EnumVisible 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 nullpublic static java.lang.String[] getNames()
public static Team.EnumVisible getByName(java.lang.String nameIn)