|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IClient.ClientType>
edu.csus.ecs.pc2.api.IClient.ClientType
public static enum IClient.ClientType
This enumerates the Client types defined in the system (that is, the types of Clients visible through the PC2 API).
Enum Constant Summary | |
---|---|
ADMIN_CLIENT
Admin client. |
|
JUDGE_CLIENT
Judge client. |
|
SCOREBOARD_CLIENT
Scoreboard client. |
|
TEAM_CLIENT
Team client. |
|
UNKNOWN_CLIENT
Unknown client type. |
Method Summary | |
---|---|
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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
public static final 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 name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |