public static enum PromisesSet.Strategy extends Enum<PromisesSet.Strategy>
| Enum Constant and Description |
|---|
NO_STOP |
STOP_ON_ERROR |
STOP_ON_SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static PromisesSet.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PromisesSet.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PromisesSet.Strategy NO_STOP
public static final PromisesSet.Strategy STOP_ON_ERROR
public static final PromisesSet.Strategy STOP_ON_SUCCESS
public static PromisesSet.Strategy[] values()
for (PromisesSet.Strategy c : PromisesSet.Strategy.values()) System.out.println(c);
public static PromisesSet.Strategy 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 © 2020. All rights reserved.