Package com.blackbuild.klum.ast.runtime
Enum Class DefaultKlumPhase
- All Implemented Interfaces:
KlumPhase,Serializable,Comparable<DefaultKlumPhase>,Constable
Default phases for Klum model creation. Note that the phases are not used directly, but
rather the phase numbers are used to order the actions. This allows to add custom phases
if needed.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPhase for automatic creation of missing objects, usually from annotations.The creation phase is not encountered in the PhaseDriver, it handles the actual creation of the objects.Materializes the completed DSL Object graph from its Builders. -
Method Summary
Modifier and TypeMethodDescriptiongetName()intstatic StringgetPhaseName(int number) static DefaultKlumPhaseReturns the enum constant of this class with the specified name.static DefaultKlumPhase[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.blackbuild.klum.ast.runtime.KlumPhase
getDisplayName
-
Enum Constant Details
-
CREATE
The creation phase is not encountered in the PhaseDriver, it handles the actual creation of the objects. -
APPLY_LATER
-
EARLY_VALIDATE
-
AUTO_CREATE
Phase for automatic creation of missing objects, usually from annotations. -
OWNER
-
AUTO_LINK
-
DEFAULT
-
POST_TREE
-
INSTANTIATE
Materializes the completed DSL Object graph from its Builders. -
VALIDATE
-
VERIFY
-
COMPLETE
-
-
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
-
getNumber
public int getNumber() -
getName
-
getPhaseName
-