public enum AclAction extends Enum<AclAction>
AccessControlList
.Modifier and Type | Method and Description |
---|---|
static AclAction |
ofOrdinal(int ordinal) |
Mode.Bits |
toModeBits() |
static AclAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AclAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AclAction READ
public static final AclAction WRITE
public static final AclAction EXECUTE
public static AclAction[] values()
for (AclAction c : AclAction.values()) System.out.println(c);
public static AclAction 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 static AclAction ofOrdinal(int ordinal)
ordinal
- the ordinal of the target action in AclAction
AclAction
with the specified ordinalIndexOutOfBoundsException
- when ordinal is out of range of valid ordinalsCopyright © 2023. All Rights Reserved.