Class RulePhase

    • Constructor Detail

      • RulePhase

        public RulePhase​(Class<? extends RulePhase> implementationType)
    • Method Detail

      • getConfiguration

        public final org.ocpsoft.rewrite.config.Configuration getConfiguration​(RuleLoaderContext ruleLoaderContext)
        This will always return an empty Configuration as these are just barriers that do not provide additional Rules.
      • getExecuteAfter

        public abstract Class<? extends RulePhase> getExecuteAfter()
        This allows the RulePhase implementation to specify the RulePhase implementation that it should be executed after.
      • getExecuteBefore

        public abstract Class<? extends RulePhase> getExecuteBefore()
        This allows the RulePhase implementation to specify the RulePhase implementation that it should be executed before.
      • setExecuteAfter

        public final void setExecuteAfter​(Class<? extends RulePhase> previousPhase)
        This allows the sorter to link RulePhases to each other, without them having to explicitly specify both the executeAfter and executeBefore.
      • setExecuteBefore

        public final void setExecuteBefore​(Class<? extends RulePhase> nextPhase)
        This allows the sorter to link RulePhases to each other, without them having to explicitly specify both the executeAfter and executeBefore.