Class AbstractIterationFilter<T extends org.jboss.windup.graph.model.WindupVertexFrame>

  • All Implemented Interfaces:
    org.ocpsoft.rewrite.config.Condition, org.ocpsoft.rewrite.config.ConditionBuilder

    public abstract class AbstractIterationFilter<T extends org.jboss.windup.graph.model.WindupVertexFrame>
    extends GraphCondition
    • Constructor Detail

      • AbstractIterationFilter

        public AbstractIterationFilter​(String variableName)
      • AbstractIterationFilter

        public AbstractIterationFilter()
        If the variable name is not specified, the iteration will set it.
    • Method Detail

      • hasVariableNameSet

        public boolean hasVariableNameSet()
      • checkVariableName

        protected void checkVariableName​(GraphRewrite event,
                                         org.ocpsoft.rewrite.context.EvaluationContext context)
        Check the variable name and if not set, set it with the singleton variable being on the top of the stack.
      • evaluate

        public abstract boolean evaluate​(GraphRewrite event,
                                         org.ocpsoft.rewrite.context.EvaluationContext context,
                                         T payload)