private static enum Providers.ProviderRuntime extends java.lang.Enum<Providers.ProviderRuntime>
Modifier and Type | Field and Description |
---|---|
private javax.ws.rs.RuntimeType |
runtime |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.RuntimeType |
getRuntime() |
static Providers.ProviderRuntime |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Providers.ProviderRuntime[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Providers.ProviderRuntime BOTH
public static final Providers.ProviderRuntime SERVER
public static final Providers.ProviderRuntime CLIENT
public static Providers.ProviderRuntime[] values()
for (Providers.ProviderRuntime c : Providers.ProviderRuntime.values()) System.out.println(c);
public static Providers.ProviderRuntime 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 nullpublic javax.ws.rs.RuntimeType getRuntime()