Interface PhaseAction

All Known Implementing Classes:
AbstractPhaseAction, AutoCreationPhase, AutoLinkPhase, BuilderVisitingPhaseAction, CleanupPhase, DefaultPhase, EarlyValidationPhase, InstantiatePhase, ModelVisitingPhaseAction, OwnerPhase, PostTreePhase, ValidationPhase, VerifyPhase, VisitingPhaseAction

public interface PhaseAction
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executes the phase on the given root element.
     
    default int
     
    default String
    Property to set to skip the phase.
    default boolean
    Can be used to skip a phase in certain conditions, usually by setting a system property.
  • 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

      default String 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.