public enum TaskOutcome extends Enum<TaskOutcome>
Enum Constant and Description |
---|
END_OF_SHARD
Denotes that the last record from the shard has been read/consumed.
|
FAILURE
Denotes a failure or exception during processing of the shard.
|
SUCCESSFUL
Denotes a successful task outcome.
|
Modifier and Type | Method and Description |
---|---|
static TaskOutcome |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskOutcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskOutcome SUCCESSFUL
public static final TaskOutcome END_OF_SHARD
public static final TaskOutcome FAILURE
public static TaskOutcome[] values()
for (TaskOutcome c : TaskOutcome.values()) System.out.println(c);
public static TaskOutcome 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 © 2021. All rights reserved.