public static enum FDv2SourceResult.State extends java.lang.Enum<FDv2SourceResult.State>
| Enum Constant and Description |
|---|
GOODBYE
The data source has been instructed to disconnect and will not produce any further results.
|
INTERRUPTED
The data source has encountered an interruption and will attempt to reconnect.
|
SHUTDOWN
The data source has been shut down and will not produce any further results.
|
TERMINAL_ERROR
The data source has encountered a terminal error and will not produce any further results.
|
| Modifier and Type | Method and Description |
|---|---|
static FDv2SourceResult.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FDv2SourceResult.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FDv2SourceResult.State INTERRUPTED
public static final FDv2SourceResult.State SHUTDOWN
public static final FDv2SourceResult.State TERMINAL_ERROR
public static final FDv2SourceResult.State GOODBYE
public static FDv2SourceResult.State[] values()
for (FDv2SourceResult.State c : FDv2SourceResult.State.values()) System.out.println(c);
public static FDv2SourceResult.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 null