Package nz.org.riskscape.wizard
Class CliWizardProcessor2
java.lang.Object
nz.org.riskscape.wizard.CliWizardProcessor2
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 Summary
ConstructorDescriptionCliWizardProcessor2
(nz.org.riskscape.engine.Project project, CliPrompter prompter, WizardActions actions) -
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(nz.org.riskscape.wizard.Survey survey) Runs through theSurvey
and interactively asks the userQuestion
s.
-
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 userQuestion
s.
-