public enum HugePermission extends Enum<HugePermission>
| Enum Constant and Description |
|---|
ANY |
DELETE |
EXECUTE |
NONE |
READ |
WRITE |
| Modifier and Type | Method and Description |
|---|---|
byte |
code() |
boolean |
match(HugePermission other) |
String |
string() |
static HugePermission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HugePermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HugePermission NONE
public static final HugePermission READ
public static final HugePermission WRITE
public static final HugePermission DELETE
public static final HugePermission EXECUTE
public static final HugePermission ANY
public static HugePermission[] values()
for (HugePermission c : HugePermission.values()) System.out.println(c);
public static HugePermission 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()
public String string()
public boolean match(HugePermission other)
Copyright © 2023 The Apache Software Foundation. All rights reserved.