Interface WizardProblems

All Superinterfaces:
nz.org.riskscape.engine.problem.ProblemFactory

public interface WizardProblems extends nz.org.riskscape.engine.problem.ProblemFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    nz.org.riskscape.problem.Problem
    Shown to the user when there was an internal problem with the wizard, namely that a PipelineChange triggered by an Answer has produced an invalid change.
    nz.org.riskscape.problem.Problem
    General purpose 'bad config, try running wizard again' error
    get()
     
    nz.org.riskscape.problem.Problem
    invalidAnswer(nz.org.riskscape.engine.bind.Parameter parameter)
    An invalid answer was supplied to a wizard parameter/question.
  • Method Details

    • get

      static WizardProblems get()
    • badPipelineChange

      nz.org.riskscape.problem.Problem badPipelineChange(String description)

      Shown to the user when there was an internal problem with the wizard, namely that a PipelineChange triggered by an Answer has produced an invalid change. There's not much the user can do about this, other than avoid that part of the wizard.

    • configError

      nz.org.riskscape.problem.Problem configError()

      General purpose 'bad config, try running wizard again' error

    • invalidAnswer

      nz.org.riskscape.problem.Problem invalidAnswer(nz.org.riskscape.engine.bind.Parameter parameter)

      An invalid answer was supplied to a wizard parameter/question.