public enum TokenPermission extends java.lang.Enum<TokenPermission>
Enum Constant and Description |
---|
ALL |
NONE |
TOKEN_CREATION_ONLY |
TOKEN_OWNER_ONLY |
Modifier and Type | Method and Description |
---|---|
static TokenPermission |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TokenPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenPermission TOKEN_CREATION_ONLY
public static final TokenPermission TOKEN_OWNER_ONLY
public static final TokenPermission ALL
public static final TokenPermission NONE
public static TokenPermission[] values()
for (TokenPermission c : TokenPermission.values()) System.out.println(c);
public static TokenPermission valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null