public static enum ResourceAccessGate.GateResult extends java.lang.Enum<ResourceAccessGate.GateResult>
GateResult
defines 3 possible states which can be returned
by the different canXXX methods of this interface.
Enum Constant and Description |
---|
CANT_DECIDE |
DENIED |
GRANTED |
Modifier and Type | Method and Description |
---|---|
static ResourceAccessGate.GateResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResourceAccessGate.GateResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceAccessGate.GateResult GRANTED
public static final ResourceAccessGate.GateResult DENIED
public static final ResourceAccessGate.GateResult CANT_DECIDE
public static ResourceAccessGate.GateResult[] values()
for (ResourceAccessGate.GateResult c : ResourceAccessGate.GateResult.values()) System.out.println(c);
public static ResourceAccessGate.GateResult 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 nullCopyright © 2010 - 2020 Adobe. All Rights Reserved