public static enum IClient.ClientType extends Enum<IClient.ClientType>
Enum Constant and Description |
---|
ADMIN_CLIENT
Admin client.
|
JUDGE_CLIENT
Judge client.
|
SCOREBOARD_CLIENT
Scoreboard client.
|
TEAM_CLIENT
Team client.
|
UNKNOWN_CLIENT
Unknown client type.
|
Modifier and Type | Method and Description |
---|---|
static IClient.ClientType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IClient.ClientType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IClient.ClientType UNKNOWN_CLIENT
public static final IClient.ClientType TEAM_CLIENT
public static final IClient.ClientType JUDGE_CLIENT
public static final IClient.ClientType SCOREBOARD_CLIENT
public static final IClient.ClientType ADMIN_CLIENT
public static IClient.ClientType[] values()
for (IClient.ClientType c : IClient.ClientType.values()) System.out.println(c);
public static IClient.ClientType 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