Enum Class SystemSetup.Type

java.lang.Object
java.lang.Enum<SystemSetup.Type>
de.hybris.platform.core.initialization.SystemSetup.Type
All Implemented Interfaces:
Serializable, Comparable<SystemSetup.Type>, Constable
Enclosing class:
SystemSetup

public static enum SystemSetup.Type extends Enum<SystemSetup.Type>
Describes, at which point the method should be called. During the essential data creation, during the project data creation or in both.
  • Enum Constant Details

    • ESSENTIAL

      public static final SystemSetup.Type ESSENTIAL
      The method is called during the essential data creation.
    • PROJECT

      public static final SystemSetup.Type PROJECT
      The method is called during the project data creation.
    • ALL

      public static final SystemSetup.Type ALL
      The method is called in essential and project data creation.
    • NOTDEFINED

      public static final SystemSetup.Type NOTDEFINED
      The method uses the setting of the class annotation definition. If also the class annotation is not set ALL is asumed.
  • Method Details

    • values

      public static SystemSetup.Type[] 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 SystemSetup.Type 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
    • isProject

      public boolean isProject()
      Returns:
      true if Type is PROJECT or ALL.
    • isEssential

      public boolean isEssential()
      Returns:
      true if Type is ESSENTIAL or ALL.
    • isAll

      public boolean isAll()
      Returns:
      true if Type is ALL.