Package alluxio.security.authorization
Enum AclEntryType
- java.lang.Object
-
- java.lang.Enum<AclEntryType>
-
- alluxio.security.authorization.AclEntryType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AclEntryType>
public enum AclEntryType extends java.lang.Enum<AclEntryType>
Types of entries inAccessControlList
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MASK
NAMED_GROUP
NAMED_USER
OTHER
OWNING_GROUP
OWNING_USER
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
GROUP_COMPONENT
static java.lang.String
MASK_COMPONENT
static java.lang.String
OTHER_COMPONENT
static java.lang.String
USER_COMPONENT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toCliString()
static AclEntryType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AclEntryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OWNING_USER
public static final AclEntryType OWNING_USER
-
NAMED_USER
public static final AclEntryType NAMED_USER
-
OWNING_GROUP
public static final AclEntryType OWNING_GROUP
-
NAMED_GROUP
public static final AclEntryType NAMED_GROUP
-
MASK
public static final AclEntryType MASK
-
OTHER
public static final AclEntryType OTHER
-
-
Field Detail
-
USER_COMPONENT
public static final java.lang.String USER_COMPONENT
- See Also:
- Constant Field Values
-
GROUP_COMPONENT
public static final java.lang.String GROUP_COMPONENT
- See Also:
- Constant Field Values
-
MASK_COMPONENT
public static final java.lang.String MASK_COMPONENT
- See Also:
- Constant Field Values
-
OTHER_COMPONENT
public static final java.lang.String OTHER_COMPONENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AclEntryType[] 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 (AclEntryType c : AclEntryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AclEntryType 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
-
toCliString
public java.lang.String toCliString()
- Returns:
- the string representation for the CLI
-
-