Class DefaultStepNamingPolicy

java.lang.Object
nz.org.riskscape.engine.pipeline.DefaultStepNamingPolicy
All Implemented Interfaces:
nz.org.riskscape.pipeline.StepNamingPolicy

public class DefaultStepNamingPolicy extends Object implements nz.org.riskscape.pipeline.StepNamingPolicy

Assigns a name to steps based on their step id and order in the AST

  • Field Details

  • Constructor Details

    • DefaultStepNamingPolicy

      public DefaultStepNamingPolicy()
  • Method Details

    • getStepNameFunction

      public Function<nz.org.riskscape.pipeline.ast.StepDefinition,String> getStepNameFunction(nz.org.riskscape.pipeline.ast.PipelineDeclaration decl)
      Specified by:
      getStepNameFunction in interface nz.org.riskscape.pipeline.StepNamingPolicy