public enum AclEntryStatusFormat extends Enum<AclEntryStatusFormat> implements org.apache.hadoop.hdfs.util.LongBitFormat.Enum
Enum Constant and Description |
---|
NAME |
PERMISSION |
SCOPE |
TYPE |
Modifier and Type | Method and Description |
---|---|
int |
getLength() |
static int[] |
toInt(List<org.apache.hadoop.fs.permission.AclEntry> aclEntries) |
static AclEntryStatusFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AclEntryStatusFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AclEntryStatusFormat PERMISSION
public static final AclEntryStatusFormat TYPE
public static final AclEntryStatusFormat SCOPE
public static final AclEntryStatusFormat NAME
public static AclEntryStatusFormat[] values()
for (AclEntryStatusFormat c : AclEntryStatusFormat.values()) System.out.println(c);
public static AclEntryStatusFormat 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 int[] toInt(List<org.apache.hadoop.fs.permission.AclEntry> aclEntries)
public int getLength()
getLength
in interface org.apache.hadoop.hdfs.util.LongBitFormat.Enum
Copyright © 2018 Apache Software Foundation. All Rights Reserved.