@DeveloperApi public enum StreamingContextState extends Enum<StreamingContextState>
Enum Constant and Description |
---|
ACTIVE
The context has been started, and been not stopped.
|
INITIALIZED
The context has been created, but not been started yet.
|
STOPPED
The context has been stopped and cannot be used any more.
|
Modifier and Type | Method and Description |
---|---|
static StreamingContextState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamingContextState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamingContextState INITIALIZED
public static final StreamingContextState ACTIVE
public static final StreamingContextState STOPPED
public static StreamingContextState[] values()
for (StreamingContextState c : StreamingContextState.values()) System.out.println(c);
public static StreamingContextState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null