@InterfaceAudience.Public public static enum Permission.Action extends Enum<Permission.Action>
Modifier and Type | Field and Description |
---|---|
private byte |
code |
Modifier and Type | Method and Description |
---|---|
byte |
code() |
static Permission.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permission.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permission.Action READ
public static final Permission.Action WRITE
public static final Permission.Action EXEC
public static final Permission.Action CREATE
public static final Permission.Action ADMIN
private final byte code
public static Permission.Action[] values()
for (Permission.Action c : Permission.Action.values()) System.out.println(c);
public static Permission.Action 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 byte code()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.