Class MultipleChanges
java.lang.Object
nz.org.riskscape.wizard.bld.change.MultipleChanges
- All Implemented Interfaces:
PipelineChange
A pipeline change that allows multiple individual changes to be combined in to one. Not sure if this class has a future, but keeping it for now until the original survey has been ported.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnz.org.riskscape.problem.ResultOrProblems<IncrementalBuildState>make(IncrementalBuildState currentState) Attempt to create a new IncrementalBuildState for this changetoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface nz.org.riskscape.wizard.bld.PipelineChange
getQuestion, getQuestionSet, parse
-
Constructor Details
-
MultipleChanges
-
-
Method Details
-
make
public nz.org.riskscape.problem.ResultOrProblems<IncrementalBuildState> make(IncrementalBuildState currentState) throws BadPipelineChangeException Description copied from interface:PipelineChangeAttempt to create a new IncrementalBuildState for this change
- Specified by:
makein interfacePipelineChange- Returns:
- a new IncrementalBuildState with this change applied
- Throws:
BadPipelineChangeException- if something went wrong that wasn't the user's fault
-
toString
-
getAnswer
- Specified by:
getAnswerin interfacePipelineChange- Returns:
- the Answer that was ultimately responsible for this
PipelineChangebeing introduced. Note that this might not be the only thing that predicated this change, but it is the last thing that caused it (the straw that broke the camel's back, so to speak)
-