public enum ServerGroupType extends Enum<ServerGroupType>
Enum Constant and Description |
---|
CHANNEL_ADMIN |
CHANNEL_GUEST |
CHANNEL_OPERATOR |
CHANNEL_VOICE |
QUERY_ADMIN |
QUERY_GUEST |
SERVER_ADMIN |
SERVER_GUEST |
SERVER_NORMAL |
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
static ServerGroupType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerGroupType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerGroupType CHANNEL_GUEST
public static final ServerGroupType SERVER_GUEST
public static final ServerGroupType QUERY_GUEST
public static final ServerGroupType CHANNEL_VOICE
public static final ServerGroupType SERVER_NORMAL
public static final ServerGroupType CHANNEL_OPERATOR
public static final ServerGroupType CHANNEL_ADMIN
public static final ServerGroupType SERVER_ADMIN
public static final ServerGroupType QUERY_ADMIN
public static ServerGroupType[] values()
for (ServerGroupType c : ServerGroupType.values()) System.out.println(c);
public static ServerGroupType 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 nullpublic int getIndex()
Copyright © 2015. All rights reserved.