@InterfaceAudience.Public @InterfaceStability.Stable public enum AclEntryType extends Enum<AclEntryType>
Enum Constant and Description |
---|
GROUP
An ACL entry applied to a specific group.
|
MASK
An ACL mask entry.
|
OTHER
An ACL entry that applies to all other users that were not covered by one
of the more specific ACL entry types.
|
USER
An ACL entry applied to a specific user.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
String |
toStringStable()
Returns a string representation guaranteed to be stable across versions to
satisfy backward compatibility requirements, such as for shell command
output or serialization.
|
static AclEntryType |
valueOf(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.
|
public static final AclEntryType USER
public static final AclEntryType GROUP
public static final AclEntryType MASK
public static final AclEntryType OTHER
public static AclEntryType[] values()
for (AclEntryType c : AclEntryType.values()) System.out.println(c);
public static AclEntryType 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 null@InterfaceStability.Unstable public String toString()
toString
in class Enum<AclEntryType>
public String toStringStable()
Copyright © 2022 Apache Software Foundation. All rights reserved.