Class ReportPhase

java.lang.Object
nz.org.riskscape.wizard.survey2.BasePhase
nz.org.riskscape.wizard.model2.report.ReportPhase
All Implemented Interfaces:
Phase

public class ReportPhase extends BasePhase
  • Constructor Details

    • ReportPhase

      public ReportPhase(Survey survey)
  • Method Details

    • getAvailableQuestionSets

      public List<QuestionSet> getAvailableQuestionSets(IncrementalBuildState buildState)
      Description copied from class: BasePhase

      Default implementation of Phase#getAvailableQuestionSets(IncrementalBuildState) that builds a static list of question sets the first time it sees a build state and then filters them based on what's already been answered

      Overrides:
      getAvailableQuestionSets in class BasePhase
    • canSkip

      public boolean canSkip(IncrementalBuildState buildState)
      Overrides:
      canSkip in class BasePhase
      Returns:
      true if the remaining question sets in this phase can be skipped, or false if they must be answered to move on to the next phase