Enum Class StructureState

java.lang.Object
java.lang.Enum<StructureState>
de.hybris.platform.patchesdemo.structure.StructureState
All Implemented Interfaces:
StructureState, Serializable, Comparable<StructureState>, Constable

public enum StructureState extends Enum<StructureState> implements StructureState
Enumeration that defines structure state; it may be used in different objects to indicate for which milestone given object was introduced.
  • Enum Constant Details

  • Method Details

    • values

      public static StructureState[] 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

      public static StructureState valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • isAfter

      public boolean isAfter(StructureState structureState)
      Description copied from interface: StructureState
      Checks if instance of given structure state is after structure state passed in method.
      Specified by:
      isAfter in interface StructureState
      Parameters:
      structureState - StructureState
      Returns:
      true if instance of given structure state is after structure state passed in method, false otherwise