Class EmptyQuestionSet

java.lang.Object
nz.org.riskscape.wizard.BaseQuestionSet
nz.org.riskscape.wizard.EmptyQuestionSet
All Implemented Interfaces:
QuestionSet

public class EmptyQuestionSet extends BaseQuestionSet
  • Constructor Details

    • EmptyQuestionSet

      public EmptyQuestionSet(String id, Survey survey)
  • Method Details

    • getPhase

      public Phase getPhase()
      Returns:
      the phase this QuestionSet belongs to
    • getPipelineChange

      public PipelineChange getPipelineChange(IncrementalBuildState buildState, Answer answer)
      Description copied from interface: QuestionSet

      Returns a PipelineChange that is created by applying an answer a build state.

      Parameters:
      buildState - the build state to get a change to.
      answer - the answer to apply. This answer must be for a question that came back from #getNextQuestions(IncrementalBuildState) using the given build state, or weird things might happen