public static enum StreamSession.State extends java.lang.Enum<StreamSession.State>
Enum Constant and Description |
---|
COMPLETE |
FAILED |
INITIALIZED |
PREPARING |
STREAMING |
WAIT_COMPLETE |
Modifier and Type | Method and Description |
---|---|
static StreamSession.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StreamSession.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamSession.State INITIALIZED
public static final StreamSession.State PREPARING
public static final StreamSession.State STREAMING
public static final StreamSession.State WAIT_COMPLETE
public static final StreamSession.State COMPLETE
public static final StreamSession.State FAILED
public static StreamSession.State[] values()
for (StreamSession.State c : StreamSession.State.values()) System.out.println(c);
public static StreamSession.State 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 © 2016 The Apache Software Foundation