public static enum OperatorDriver.State extends Enum<OperatorDriver.State>
Enum Constant and Description |
---|
CANCELED
Operation was cancelled.
|
CLOSED
close() called and resources are released.
|
END
No more data to deliver.
|
FAILED
An error occurred.
|
RUN
Read from readers.
|
START
Before the first call to next().
|
STARTING
Attempting to start the operator.
|
Modifier and Type | Method and Description |
---|---|
static OperatorDriver.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperatorDriver.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperatorDriver.State START
public static final OperatorDriver.State STARTING
public static final OperatorDriver.State RUN
public static final OperatorDriver.State END
public static final OperatorDriver.State FAILED
public static final OperatorDriver.State CANCELED
public static final OperatorDriver.State CLOSED
public static OperatorDriver.State[] values()
for (OperatorDriver.State c : OperatorDriver.State.values()) System.out.println(c);
public static OperatorDriver.State 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 nullCopyright © 1970 The Apache Software Foundation. All rights reserved.