Package com.liferay.segments.constants
Enum Class SegmentsExperimentConstants.Status
java.lang.Object
java.lang.Enum<SegmentsExperimentConstants.Status>
com.liferay.segments.constants.SegmentsExperimentConstants.Status
- All Implemented Interfaces:
Serializable
,Comparable<SegmentsExperimentConstants.Status>
,Constable
- Enclosing class:
- SegmentsExperimentConstants
public static enum SegmentsExperimentConstants.Status
extends Enum<SegmentsExperimentConstants.Status>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic int[]
getLabel()
static int[]
static int[]
static int[]
int
getValue()
boolean
boolean
boolean
boolean
isSplit()
parse
(int value) boolean
toString()
static void
validateTransition
(int fromStatusValue, int toStatusValue) valueOf
(int value) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static SegmentsExperimentConstants.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMPLETED
-
DELETED_ON_DXP_ONLY
-
DRAFT
-
FINISHED_NO_WINNER
-
FINISHED_WINNER_DECLARED
-
PAUSED
-
RUNNING
-
SCHEDULED
-
TERMINATED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getExclusiveStatusValues
public static int[] getExclusiveStatusValues() -
getLockedStatusValues
public static int[] getLockedStatusValues() -
getNonexclusiveStatusValues
public static int[] getNonexclusiveStatusValues() -
getSplitStatusValues
public static int[] getSplitStatusValues() -
parse
-
parse
-
validateTransition
public static void validateTransition(int fromStatusValue, int toStatusValue) throws SegmentsExperimentStatusException -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getLabel
-
getValue
public int getValue() -
isDeletable
public boolean isDeletable() -
isEditable
public boolean isEditable() -
isExclusive
public boolean isExclusive() -
isSplit
public boolean isSplit() -
requiresWinnerExperience
public boolean requiresWinnerExperience() -
toString
- Overrides:
toString
in classEnum<SegmentsExperimentConstants.Status>
-
validTransitions
-