Enum ObjectPermission.Type
- java.lang.Object
-
- java.lang.Enum<ObjectPermission.Type>
-
- org.apache.guacamole.net.auth.permission.ObjectPermission.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<ObjectPermission.Type>
- Enclosing class:
- ObjectPermission
public static enum ObjectPermission.Type extends Enum<ObjectPermission.Type>
Specific types of object-level permissions. Each permission type is related to a specific class of object-level operation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMINISTER
Change who has access to an object.DELETE
Delete an object.READ
Read data within an object.UPDATE
Update data within an object.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObjectPermission.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static ObjectPermission.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ
public static final ObjectPermission.Type READ
Read data within an object.
-
UPDATE
public static final ObjectPermission.Type UPDATE
Update data within an object.
-
DELETE
public static final ObjectPermission.Type DELETE
Delete an object.
-
ADMINISTER
public static final ObjectPermission.Type ADMINISTER
Change who has access to an object.
-
-
Method Detail
-
values
public static ObjectPermission.Type[] 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 (ObjectPermission.Type c : ObjectPermission.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObjectPermission.Type valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-