Class CliWizardProcessor2

java.lang.Object
nz.org.riskscape.wizard.CliWizardProcessor2

public class CliWizardProcessor2 extends Object

Drives the wizard answering process on the CLI, this time for Survey2 surveys (rather than the old Survey) interface.

Survey2 acts more like a controller in this incarnation, with the processor driving the question/answer loop.

  • Constructor Details

    • CliWizardProcessor2

      public CliWizardProcessor2(nz.org.riskscape.engine.Project project, CliPrompter prompter, WizardActions actions)
  • Method Details

    • run

      public void run(nz.org.riskscape.wizard.Survey survey)

      Runs through the Survey and interactively asks the user Questions.