public enum GlobalContextType extends java.lang.Enum<GlobalContextType>
Enum Constant and Description |
---|
ALL
An "ALL" membership context which can be pushed to the stack of contexts,
and make it current on a thread.
|
ANY
An "ANY" membership context which can be pushed to the stack of membership
contexts, and make it current on a thread.
|
NONE
A "NONE" membership context which can be pushed to the stack of Contexts,
and make it current on a thread.
|
Modifier and Type | Method and Description |
---|---|
static GlobalContextType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GlobalContextType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlobalContextType ANY
public static final GlobalContextType NONE
public static final GlobalContextType ALL
public static GlobalContextType[] values()
for (GlobalContextType c : GlobalContextType.values()) System.out.println(c);
public static GlobalContextType 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