public static enum ServiceContextManager.Mode extends java.lang.Enum<ServiceContextManager.Mode>
Enum Constant and Description |
---|
COMPATIBLE |
DEFAULT |
JPS_API |
MULTIPLE |
SINGLE |
Modifier and Type | Method and Description |
---|---|
static ServiceContextManager.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ServiceContextManager.Mode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final ServiceContextManager.Mode JPS_API
public static final ServiceContextManager.Mode COMPATIBLE
public static final ServiceContextManager.Mode SINGLE
public static final ServiceContextManager.Mode DEFAULT
public static final ServiceContextManager.Mode MULTIPLE
public static ServiceContextManager.Mode[] values()
for (ServiceContextManager.Mode c : ServiceContextManager.Mode.values()) System.out.println(c);
public static ServiceContextManager.Mode 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