Enum SystemSetup.Type
- java.lang.Object
-
- java.lang.Enum<SystemSetup.Type>
-
- de.hybris.platform.core.initialization.SystemSetup.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SystemSetup.Type>
- Enclosing class:
- SystemSetup
public static enum SystemSetup.Type extends java.lang.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 Summary
Enum Constants Enum Constant Description ALLThe method is called in essential and project data creation.ESSENTIALThe method is called during the essential data creation.NOTDEFINEDThe method uses the setting of the class annotation definition.PROJECTThe method is called during the project data creation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAll()booleanisEssential()booleanisProject()static SystemSetup.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SystemSetup.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static SystemSetup.Type[] 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 (SystemSetup.Type c : SystemSetup.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SystemSetup.Type 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
-
isProject
public boolean isProject()
- Returns:
trueif Type is PROJECT or ALL.
-
isEssential
public boolean isEssential()
- Returns:
trueif Type is ESSENTIAL or ALL.
-
isAll
public boolean isAll()
- Returns:
trueif Type is ALL.
-
-