Package com.blackbuild.klum.ast.runtime
Interface PhaseAction
- All Known Implementing Classes:
AbstractPhaseAction,AutoCreationPhase,AutoLinkPhase,BuilderVisitingPhaseAction,CleanupPhase,DefaultPhase,EarlyValidationPhase,InstantiatePhase,ModelVisitingPhaseAction,OwnerPhase,PostTreePhase,ValidationPhase,VerifyPhase,VisitingPhaseAction
public interface PhaseAction
-
Method Details
-
execute
void execute()Executes the phase on the given root element. -
getPhase
KlumPhase getPhase() -
getPhaseNumber
default int getPhaseNumber() -
shouldSkip
default boolean shouldSkip()Can be used to skip a phase in certain conditions, usually by setting a system property.- Returns:
- true if the phase should be skipped.
-
getSkipProperty
Property to set to skip the phase.- Returns:
- the name of the property or null if the phase cannot be skipped by a property.
-