@InterfaceAudience.Private protected static enum Permission.Scope extends Enum<Permission.Scope>
Modifier and Type | Field and Description |
---|---|
private byte |
code |
Modifier and Type | Method and Description |
---|---|
byte |
code() |
static Permission.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permission.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permission.Scope GLOBAL
public static final Permission.Scope NAMESPACE
public static final Permission.Scope TABLE
public static final Permission.Scope EMPTY
private final byte code
public static Permission.Scope[] values()
for (Permission.Scope c : Permission.Scope.values()) System.out.println(c);
public static Permission.Scope 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.