Enum PacketServerUpdatePermissions.UpdateType
- java.lang.Object
-
- java.lang.Enum<PacketServerUpdatePermissions.UpdateType>
-
- de.dytanic.cloudnet.driver.network.def.packet.PacketServerUpdatePermissions.UpdateType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PacketServerUpdatePermissions.UpdateType>
- Enclosing class:
- PacketServerUpdatePermissions
public static enum PacketServerUpdatePermissions.UpdateType extends java.lang.Enum<PacketServerUpdatePermissions.UpdateType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_GROUPADD_USERDELETE_GROUPDELETE_USERSET_GROUPSSET_USERSUPDATE_GROUPUPDATE_USER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PacketServerUpdatePermissions.UpdateTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PacketServerUpdatePermissions.UpdateType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD_USER
public static final PacketServerUpdatePermissions.UpdateType ADD_USER
-
UPDATE_USER
public static final PacketServerUpdatePermissions.UpdateType UPDATE_USER
-
DELETE_USER
public static final PacketServerUpdatePermissions.UpdateType DELETE_USER
-
SET_USERS
public static final PacketServerUpdatePermissions.UpdateType SET_USERS
-
ADD_GROUP
public static final PacketServerUpdatePermissions.UpdateType ADD_GROUP
-
UPDATE_GROUP
public static final PacketServerUpdatePermissions.UpdateType UPDATE_GROUP
-
DELETE_GROUP
public static final PacketServerUpdatePermissions.UpdateType DELETE_GROUP
-
SET_GROUPS
public static final PacketServerUpdatePermissions.UpdateType SET_GROUPS
-
-
Method Detail
-
values
public static PacketServerUpdatePermissions.UpdateType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PacketServerUpdatePermissions.UpdateType c : PacketServerUpdatePermissions.UpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PacketServerUpdatePermissions.UpdateType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-