public enum PermissionGroupType extends Enum<PermissionGroupType>
Enum Constant and Description |
---|
CHANNEL |
CHANNEL_CLIENT |
CHANNEL_GROUP |
GLOBAL_CLIENT |
SERVER_GROUP |
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
static PermissionGroupType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionGroupType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionGroupType SERVER_GROUP
public static final PermissionGroupType GLOBAL_CLIENT
public static final PermissionGroupType CHANNEL
public static final PermissionGroupType CHANNEL_GROUP
public static final PermissionGroupType CHANNEL_CLIENT
public static PermissionGroupType[] values()
for (PermissionGroupType c : PermissionGroupType.values()) System.out.println(c);
public static PermissionGroupType 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.