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