public static enum SegmentsExperimentConstants.Status extends java.lang.Enum<SegmentsExperimentConstants.Status>
Enum Constant and Description |
---|
COMPLETED |
DRAFT |
FINISHED_NO_WINNER |
FINISHED_WINNER_DECLARED |
PAUSED |
RUNNING |
SCHEDULED |
TERMINATED |
Modifier and Type | Method and Description |
---|---|
static int[] |
getExclusiveStatusValues() |
java.lang.String |
getLabel() |
static int[] |
getLockedStatusValues() |
static int[] |
getNonexclusiveStatusValues() |
static int[] |
getSplitStatusValues() |
int |
getValue() |
boolean |
isEditable() |
boolean |
isExclusive() |
boolean |
isSplit() |
static java.util.Optional<SegmentsExperimentConstants.Status> |
parse(int value) |
static java.util.Optional<SegmentsExperimentConstants.Status> |
parse(java.lang.String stringValue) |
boolean |
requiresWinnerExperience() |
java.lang.String |
toString() |
static void |
validateTransition(int fromStatusValue,
int toStatusValue) |
java.util.Set<SegmentsExperimentConstants.Status> |
validTransitions() |
static SegmentsExperimentConstants.Status |
valueOf(int value) |
static SegmentsExperimentConstants.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SegmentsExperimentConstants.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SegmentsExperimentConstants.Status COMPLETED
public static final SegmentsExperimentConstants.Status DRAFT
public static final SegmentsExperimentConstants.Status FINISHED_NO_WINNER
public static final SegmentsExperimentConstants.Status FINISHED_WINNER_DECLARED
public static final SegmentsExperimentConstants.Status PAUSED
public static final SegmentsExperimentConstants.Status RUNNING
public static final SegmentsExperimentConstants.Status SCHEDULED
public static final SegmentsExperimentConstants.Status TERMINATED
public static SegmentsExperimentConstants.Status[] values()
for (SegmentsExperimentConstants.Status c : SegmentsExperimentConstants.Status.values()) System.out.println(c);
public static SegmentsExperimentConstants.Status 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 nullpublic static int[] getExclusiveStatusValues()
public static int[] getLockedStatusValues()
public static int[] getNonexclusiveStatusValues()
public static int[] getSplitStatusValues()
public static java.util.Optional<SegmentsExperimentConstants.Status> parse(int value)
public static java.util.Optional<SegmentsExperimentConstants.Status> parse(java.lang.String stringValue)
public static void validateTransition(int fromStatusValue, int toStatusValue) throws SegmentsExperimentStatusException
public static SegmentsExperimentConstants.Status valueOf(int value)
public java.lang.String getLabel()
public int getValue()
public boolean isEditable()
public boolean isExclusive()
public boolean isSplit()
public boolean requiresWinnerExperience()
public java.lang.String toString()
toString
in class java.lang.Enum<SegmentsExperimentConstants.Status>
public java.util.Set<SegmentsExperimentConstants.Status> validTransitions()