Class BasicBuildPoint

java.lang.Object
nz.org.riskscape.wizard.bld.dsl.BasicBuildPoint
All Implemented Interfaces:
BuildPoint

public class BasicBuildPoint extends Object implements BuildPoint

A BuildPoint that triggers after a single question is answered, even if empty.

  • Constructor Details

  • Method Details

    • getChange

      public Optional<PipelineChange> getChange(IncrementalBuildState buildState, Answer justGivenAnswer)
      Specified by:
      getChange in interface BuildPoint
      Returns:
      a PipelineChange that can be applied to the given build state for the given answer, or empty if this build point doesn't apply here.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getAfterQuestion

      public String getAfterQuestion()

      The name of the question that this build point applies after

    • getPipelineChanger

      public PipelineChanger getPipelineChanger()

      A bit of code that can make changes to a pipeline in response to answered questions.