public static enum TargetState.TaskControl extends Enum<TargetState.TaskControl>
TargetState.untilThen(Supplier, Consumer)| Enum Constant and Description |
|---|
EXIT
The execution is immediately stopped, even if
TargetState.yet()
still returns false. |
TRY_REPEAT
The task will be tried repeated, unless
TargetState.yet()
returns true. |
| Modifier and Type | Method and Description |
|---|---|
static TargetState.TaskControl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetState.TaskControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetState.TaskControl TRY_REPEAT
TargetState.yet()
returns true.public static final TargetState.TaskControl EXIT
TargetState.yet()
still returns false.public static TargetState.TaskControl[] values()
for (TargetState.TaskControl c : TargetState.TaskControl.values()) System.out.println(c);
public static TargetState.TaskControl 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 © 2019 Digipost. All rights reserved.