Package de.hybris.platform.patches.utils
Enum StructureStateUtilsTest.TestStructureState
- java.lang.Object
-
- java.lang.Enum<StructureStateUtilsTest.TestStructureState>
-
- de.hybris.platform.patches.utils.StructureStateUtilsTest.TestStructureState
-
- All Implemented Interfaces:
StructureState,java.io.Serializable,java.lang.Comparable<StructureStateUtilsTest.TestStructureState>
- Enclosing class:
- StructureStateUtilsTest
public static enum StructureStateUtilsTest.TestStructureState extends java.lang.Enum<StructureStateUtilsTest.TestStructureState> implements StructureState
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAfter(StructureState structureState)Checks if instance of given structure state is after structure state passed in method.static StructureStateUtilsTest.TestStructureStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static StructureStateUtilsTest.TestStructureState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
V1
public static final StructureStateUtilsTest.TestStructureState V1
-
V2
public static final StructureStateUtilsTest.TestStructureState V2
-
V3
public static final StructureStateUtilsTest.TestStructureState V3
-
V4
public static final StructureStateUtilsTest.TestStructureState V4
-
LAST
public static final StructureStateUtilsTest.TestStructureState LAST
-
-
Method Detail
-
values
public static StructureStateUtilsTest.TestStructureState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StructureStateUtilsTest.TestStructureState c : StructureStateUtilsTest.TestStructureState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StructureStateUtilsTest.TestStructureState valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
isAfter
public boolean isAfter(StructureState structureState)
Description copied from interface:StructureStateChecks if instance of given structure state is after structure state passed in method.- Specified by:
isAfterin interfaceStructureState- Parameters:
structureState-StructureState- Returns:
trueif instance of given structure state is after structure state passed in method,falseotherwise
-
-