protected static enum IteratingCallback.Action extends Enum<IteratingCallback.Action>
IteratingCallback.process()
must return.Enum Constant and Description |
---|
IDLE
Indicates that
IteratingCallback.process() has no more work to do,
but the overall job is not completed yet, probably waiting
for additional events to trigger more work. |
SCHEDULED
Indicates that
IteratingCallback.process() is executing asynchronously
a sub task, where the execution has started but the callback
may have not yet been invoked. |
SUCCEEDED
Indicates that
IteratingCallback.process() has completed the overall job. |
Modifier and Type | Method and Description |
---|---|
static IteratingCallback.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IteratingCallback.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IteratingCallback.Action IDLE
IteratingCallback.process()
has no more work to do,
but the overall job is not completed yet, probably waiting
for additional events to trigger more work.public static final IteratingCallback.Action SCHEDULED
IteratingCallback.process()
is executing asynchronously
a sub task, where the execution has started but the callback
may have not yet been invoked.public static final IteratingCallback.Action SUCCEEDED
IteratingCallback.process()
has completed the overall job.public static IteratingCallback.Action[] values()
for (IteratingCallback.Action c : IteratingCallback.Action.values()) System.out.println(c);
public static IteratingCallback.Action 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 © 1995-2015 Webtide. All Rights Reserved.