public static enum JobOutcomePolicy.Outcome extends Enum<JobOutcomePolicy.Outcome>
| Modifier and Type | Method and Description |
|---|---|
static JobOutcomePolicy.Outcome |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JobOutcomePolicy.Outcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JobOutcomePolicy.Outcome SUCCESS
public static final JobOutcomePolicy.Outcome FAIL
public static final JobOutcomePolicy.Outcome UNSTABLE
public static JobOutcomePolicy.Outcome[] values()
for (JobOutcomePolicy.Outcome c : JobOutcomePolicy.Outcome.values()) System.out.println(c);
public static JobOutcomePolicy.Outcome 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 Contrast Security. All rights reserved.