protected static enum IteratingCallback.Action extends java.lang.Enum<IteratingCallback.Action>
IteratingCallback.process()
must return.Enum Constant | 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 | Description |
---|---|---|
static IteratingCallback.Action |
valueOf(java.lang.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(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 © 1995–2018 Webtide. All rights reserved.