Index

A B C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addBuildPoint(BuildPoint) - Method in class nz.org.riskscape.wizard.survey2.DefaultQuestionSet2
Adds a potential build point to the question set, i.e.
addHiddenQuestion(String) - Method in class nz.org.riskscape.wizard.survey2.DefaultQuestionSet2
Adds a hidden question (Question.hidden()) to the set
addQuestion(String, Class<T>) - Method in class nz.org.riskscape.wizard.survey2.DefaultQuestionSet2
Start adding a question to this question set.
AddQuestion<T> - Class in nz.org.riskscape.wizard.survey2
Returned from a call to DefaultQuestionSet2.addQuestion(String, Class) to allow simpler declaration of pipeline building following a question being answered
AddQuestion(DefaultQuestionSet2, String, Class<T>) - Constructor for class nz.org.riskscape.wizard.survey2.AddQuestion
 
AddQuestion(DefaultQuestionSet2, Question, Class<T>) - Constructor for class nz.org.riskscape.wizard.survey2.AddQuestion
 
addQuestions(DefaultQuestionSet2, String) - Method in class nz.org.riskscape.wizard.model2.input.Geoprocessing
 
AGGREGATION - Static variable in class nz.org.riskscape.wizard.AskerHints
We want to use the answer in an aggregation expression, i.e.
AggregationExpression - Class in nz.org.riskscape.wizard.bind
 
AggregationExpression() - Constructor for class nz.org.riskscape.wizard.bind.AggregationExpression
 
ALL_INTERSECTIONS - Enum constant in enum class nz.org.riskscape.wizard.model2.smp.SampleType
 
ALL_PARTS - Enum constant in enum class nz.org.riskscape.wizard.model2.input.CuttingIncludes
Retain all parts of the original geometry when cutting against another layer, i.e.
amount - Variable in class nz.org.riskscape.wizard.model2.smp.HazardBufferExpression
 
AnalysisPhase - Class in nz.org.riskscape.wizard.model2.analysis
 
AnalysisPhase(Survey) - Constructor for class nz.org.riskscape.wizard.model2.analysis.AnalysisPhase
 
Answer - Class in nz.org.riskscape.wizard
Records an answer to a question that has been bound to a type according to Question.getParameterType()
Answer(Question, List<Answer.Response>) - Constructor for class nz.org.riskscape.wizard.Answer
 
Answer(Question, Answer.Response...) - Constructor for class nz.org.riskscape.wizard.Answer
 
Answer.Response - Class in nz.org.riskscape.wizard
Records a user's response to a question.
append(PipelineChange, PipelineDeclaration, RealizedPipeline) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
Return a new IncrementalBuildState that resulted in applying the given change to this build state.
append(String, Object...) - Method in class nz.org.riskscape.wizard.bld.change.AppendJoinChange.Builder
 
append(StepChain) - Method in class nz.org.riskscape.wizard.bld.change.AppendJoinChange.Builder
 
appendComponent(String, Object) - Static method in class nz.org.riskscape.wizard.ConfigParser
Convenience for returning prefix[subkey]
AppendJoinChange - Class in nz.org.riskscape.wizard.bld.change
 
AppendJoinChange.Builder - Class in nz.org.riskscape.wizard.bld.change
 
AppendJoinChange.Side - Enum Class in nz.org.riskscape.wizard.bld.change
 
AppendStepChange - Class in nz.org.riskscape.wizard.bld.change
Change for appending a StepChain to a StepChain, elongating it (not creating a branch)
AppendStepChange(Answer, String) - Constructor for class nz.org.riskscape.wizard.bld.change.AppendStepChange
 
Applicability - Class in nz.org.riskscape.wizard
 
Applicability(QuestionSet, Set<RealizedStep>) - Constructor for class nz.org.riskscape.wizard.Applicability
 
apply(PipelineChangeInput) - Method in interface nz.org.riskscape.wizard.bld.dsl.PipelineChanger
 
apply(PipelineChangeInput, T) - Method in interface nz.org.riskscape.wizard.bld.dsl.TypedPipelineChanger
 
apply(Question, String, Locale) - Method in interface nz.org.riskscape.wizard.Question.I18nLookupFunction
Lookup a string for a question.
applyAnswer(Answer) - Method in class nz.org.riskscape.wizard.WizardProcessor
Update the build state to reflect the given answer, skipping any proceeding optional or hidden questions and then any trailing hidden questions after
asChoice() - Method in class nz.org.riskscape.wizard.survey2.PickQuestionSet
 
ASK_AS - Static variable in class nz.org.riskscape.wizard.bind.AggregationExpression
 
ASK_AS - Static variable in class nz.org.riskscape.wizard.model2.input.FilterByAttribute
 
AskAs<T> - Class in nz.org.riskscape.wizard
An AskAs is a way for a Question to signal to the UI that it can ask the question in a customized way, but ultimately the survey wants the answer to be recorded in a way that can be bound to the Question's parameter type.
AskAs(Class<T>, Function<T, String>) - Constructor for class nz.org.riskscape.wizard.AskAs
 
AskerHints - Class in nz.org.riskscape.wizard
Constant annotation tags for Questions to help refine the Asker class (in wizard-cli) behaviour.
AskerHints() - Constructor for class nz.org.riskscape.wizard.AskerHints
 
askWhen(Predicate<IncrementalBuildState>) - Method in class nz.org.riskscape.wizard.Question
Adds a predicate condition that should be met before this question is asked.
askWhenDependencyIs(Predicate<Object>) - Method in class nz.org.riskscape.wizard.survey2.AddQuestion
 
askWhenResponseIs(String, Object) - Method in class nz.org.riskscape.wizard.survey2.AddQuestion
 
askWhenResponseIs(Question, Object) - Method in class nz.org.riskscape.wizard.survey2.AddQuestion
Convenience for when a question depends on a previous question having been answered, and that response must also have a certain value.
asStructMembers(List<? extends Expression>) - Static method in class nz.org.riskscape.wizard.model2.DslHelper
Combines a list of expressions into a comma-separated struct declaration string, minus the {}s.
asType(Question) - Method in class nz.org.riskscape.wizard.AskAs
 
AtLastChange - Class in nz.org.riskscape.wizard.bld.loc
Identifies a location to apply a change by finding the last step that changed in the build state.
atLeastOne() - Method in class nz.org.riskscape.wizard.Question
 
atLocation(ChangeLocation) - Method in class nz.org.riskscape.wizard.Question
 
atStep(String) - Static method in interface nz.org.riskscape.wizard.bld.loc.ChangeLocation
 
AtStepNamed - Class in nz.org.riskscape.wizard.bld.loc
 
AtStepNamed(String) - Constructor for class nz.org.riskscape.wizard.bld.loc.AtStepNamed
 
attribute - Variable in class nz.org.riskscape.wizard.bind.AggregationExpression
 
attribute - Variable in class nz.org.riskscape.wizard.model2.input.RecomputeAttribute
 
attribute - Variable in class nz.org.riskscape.wizard.model2.report.SortExpression
 
AttributeMetadata(List<Struct.StructMember>) - Constructor for class nz.org.riskscape.wizard.ExpressionHelper.AttributeMetadata
 

B

badPipelineChange(String) - Method in interface nz.org.riskscape.wizard.WizardProblems
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.
BadPipelineChangeException - Exception in nz.org.riskscape.wizard.bld.change
Thrown when a PipelineChange is invalid because of a coding error.
BadPipelineChangeException(PipelineChange, String) - Constructor for exception nz.org.riskscape.wizard.bld.change.BadPipelineChangeException
 
BadPipelineChangeException(PipelineChange, String, Throwable) - Constructor for exception nz.org.riskscape.wizard.bld.change.BadPipelineChangeException
 
BasePhase - Class in nz.org.riskscape.wizard.survey2
Base implementation of a phase that takes care of the links between the survey, they phase and the question sets.
BasePhase(Survey) - Constructor for class nz.org.riskscape.wizard.survey2.BasePhase
 
BasePhase(Survey, Function<BasePhase, List<DefaultQuestionSet2>>) - Constructor for class nz.org.riskscape.wizard.survey2.BasePhase
 
BasePipelineChange<T> - Class in nz.org.riskscape.wizard.bld.change
Base class for any PipelineChange that follows a standard string -> ast -> validate -> update pattern
BasePipelineChange(Answer) - Constructor for class nz.org.riskscape.wizard.bld.change.BasePipelineChange
 
BaseQuestionSet - Class in nz.org.riskscape.wizard
 
BaseQuestionSet(String, String, Survey) - Constructor for class nz.org.riskscape.wizard.BaseQuestionSet
Construct a question set where the name is used for the i18n look up and the id is set as the name plus an integer disriminator, e.g.
BaseQuestionSet(String, Survey) - Constructor for class nz.org.riskscape.wizard.BaseQuestionSet
Construct a question set where the id is used for the i18n look up.
BaseSurvey - Class in nz.org.riskscape.wizard.survey2
Convenient super class for a phase-based Survey.
BaseSurvey(String, MessageSource, Function<Survey, List<BasePhase>>) - Constructor for class nz.org.riskscape.wizard.survey2.BaseSurvey
 
BasicBuildPoint - Class in nz.org.riskscape.wizard.bld.dsl
A BuildPoint that triggers after a single question is answered, even if empty.
BasicBuildPoint(String, PipelineChanger) - Constructor for class nz.org.riskscape.wizard.bld.dsl.BasicBuildPoint
 
bind(BindingContext, Question, Object) - Static method in class nz.org.riskscape.wizard.Answer
Convenience method for binding a single input value for the given question in to a single Answer.Response
bindAll(BindingContext, Question, List<?>) - Static method in class nz.org.riskscape.wizard.Answer
Convenience method for binding a list of responses in to an answer, return a failed result if any of the responses failed to bind.
bindValue(BindingContext, Object, Class<T>) - Method in class nz.org.riskscape.wizard.bind.CompositeBinder
 
bindValue(BindingContext, Object, Class<T>) - Method in class nz.org.riskscape.wizard.bind.PickQuestionSetBinder
 
build() - Method in class nz.org.riskscape.wizard.bld.change.AppendJoinChange.Builder
 
build(Project, BoundParameters) - Method in class nz.org.riskscape.wizard.WizardModelFramework
 
builder(Answer) - Static method in class nz.org.riskscape.wizard.bld.change.AppendJoinChange
 
Builder(Answer) - Constructor for class nz.org.riskscape.wizard.bld.change.AppendJoinChange.Builder
 
BuildPoint - Interface in nz.org.riskscape.wizard.bld.dsl
Part of the DefaultQuestionSet2 API for defining how PipelineChanges get produced.
buildQuestionSet(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.model2.analysis.AnalysisPhase
 
buildQuestionSet(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.model2.smp.SamplePhase
 
buildQuestionSet(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.survey2.BasePhase
 
buildQuestionSets(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.survey2.BasePhase
 
buildStateIterator() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
buildStateStream() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
builtQuestionSets - Variable in class nz.org.riskscape.wizard.survey2.BasePhase
 
builtQuestionsInvalid(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.survey2.BasePhase
Determine whether question sets need rebuilding, will always return false if the phase was constructed with a single static question set.
BY_DISTANCE - Enum constant in enum class nz.org.riskscape.wizard.model2.input.CutType
 
BY_EXPRESSION - Enum constant in enum class nz.org.riskscape.wizard.model2.input.FilterType
Filter a layer by a given expression, e.g.
BY_FEATURE_IN_LAYER - Enum constant in enum class nz.org.riskscape.wizard.model2.input.FilterType
Pick a feature in a given layer and filter out any exposures that intersect it, e.g.
BY_LAYER - Enum constant in enum class nz.org.riskscape.wizard.model2.input.CutType
 
BY_LAYER_BOUNDS - Enum constant in enum class nz.org.riskscape.wizard.model2.input.FilterType
Filter by the bounds of another layer, e.g.

C

canBind(Class<?>, Class<?>) - Method in class nz.org.riskscape.wizard.bind.CompositeBinder
 
canBind(Class<?>, Class<?>) - Method in class nz.org.riskscape.wizard.bind.PickQuestionSetBinder
 
canEqual(Object) - Method in class nz.org.riskscape.wizard.Answer
 
canEqual(Object) - Method in class nz.org.riskscape.wizard.AskAs
 
canEqual(Object) - Method in class nz.org.riskscape.wizard.BaseQuestionSet
 
canEqual(Object) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
canEqual(Object) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState.Context
 
canEqual(Object) - Method in class nz.org.riskscape.wizard.Choice
 
canEqual(Object) - Method in class nz.org.riskscape.wizard.ExpressionHelper.AttributeMetadata
 
canEqual(Object) - Method in class nz.org.riskscape.wizard.ExpressionHelper.AttributeValue
 
canEqual(Object) - Method in class nz.org.riskscape.wizard.Question
 
canEqual(Object) - Method in class nz.org.riskscape.wizard.survey2.PickQuestionSet
 
canRender(Object) - Method in class nz.org.riskscape.wizard.i18n.WizardObjectRenderer
 
canSkip(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.model2.input.InputDataPhase
 
canSkip(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.model2.report.ReportPhase
 
canSkip(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.survey2.BasePhase
 
CENTROID - Enum constant in enum class nz.org.riskscape.wizard.model2.smp.SampleType
 
chainStep(String, Object...) - Static method in interface nz.org.riskscape.wizard.bld.PipelineChange
Chains a StepChain to an existing StepChain, appending the chain to the last implicit step
ChangeLocation - Interface in nz.org.riskscape.wizard.bld.loc
Can identify a location at which a PipelineChange can apply to the build state of a pipeline during wizard process.
checkValidity(List<Object>) - Method in class nz.org.riskscape.wizard.Question
sanity checking code to prevent an invalid answer being recorded - the errors are not meant for human consumption but we might want to adapt them later
Choice - Class in nz.org.riskscape.wizard
Represents a predefined option, or 'choice', that the user can make when configuring model parameter or wizard question.
Choice(String, String, Optional<String>, Object) - Constructor for class nz.org.riskscape.wizard.Choice
 
Choices - Class in nz.org.riskscape.wizard.survey2
Helper for generating suitable Choices for wizard questions.
Choices() - Constructor for class nz.org.riskscape.wizard.survey2.Choices
 
CLOSEST - Enum constant in enum class nz.org.riskscape.wizard.model2.smp.SampleType
 
COMPARABLE - Static variable in class nz.org.riskscape.wizard.AskerHints
We want the user to specify an attribute that's comparable or sortable.
comparator - Variable in class nz.org.riskscape.wizard.model2.input.FilterByAttribute
 
compareTo(ExpressionHelper.AttributeValue) - Method in class nz.org.riskscape.wizard.ExpressionHelper.AttributeValue
 
Composite - Annotation Interface in nz.org.riskscape.wizard
 
CompositeBinder - Class in nz.org.riskscape.wizard.bind
Binds a Map to a class tagged with Composite
CompositeBinder() - Constructor for class nz.org.riskscape.wizard.bind.CompositeBinder
 
CompositeField - Annotation Interface in nz.org.riskscape.wizard
 
configError() - Method in interface nz.org.riskscape.wizard.WizardProblems
 
ConfigParser - Class in nz.org.riskscape.wizard
Reconstructs a wizard's answers from INI config.
ConfigParser(Function<String, Survey>) - Constructor for class nz.org.riskscape.wizard.ConfigParser
 
ConfigParser.LocalProblems - Interface in nz.org.riskscape.wizard
 
CONSEQUENCE - Static variable in class nz.org.riskscape.wizard.model2.analysis.AnalysisPhase
 
contains(Question) - Method in class nz.org.riskscape.wizard.survey2.DefaultQuestionSet2
 
contains(QuestionSet) - Method in class nz.org.riskscape.wizard.survey2.BasePhase
 
Context(Survey, ExecutionContext) - Constructor for class nz.org.riskscape.wizard.bld.IncrementalBuildState.Context
 
convert(BindingContext, Question, Answer.Response) - Method in class nz.org.riskscape.wizard.AskAs
Convert the result of asking the question (AskAs.getType()) to the type the survey wants to have stored (Question#getType()
couldNotApplyChange(Object) - Method in interface nz.org.riskscape.wizard.ConfigParser.LocalProblems
 
create(IncrementalBuildState, Question) - Static method in class nz.org.riskscape.wizard.ExpressionHelper
Creates an attribute helper based on the context struct deduced from the given question/answers.
createInputDataQuestionSet(String) - Method in class nz.org.riskscape.wizard.model2.input.InputDataPhase
 
createInputDataQuestionSet(String, int) - Method in class nz.org.riskscape.wizard.model2.input.InputDataPhase
 
customizeQuestion(Function<Question, Question>) - Method in class nz.org.riskscape.wizard.survey2.AddQuestion
Allow arbitrary changes to the question by supplying a function that returns a new function, e.g.
CuttingIncludes - Enum Class in nz.org.riskscape.wizard.model2.input
 
CutType - Enum Class in nz.org.riskscape.wizard.model2.input
 

D

DEFAULT_I18N_LOOKUP - Static variable in class nz.org.riskscape.wizard.Question
 
DefaultQuestionSet2 - Class in nz.org.riskscape.wizard.survey2
A QuestionSet that work on a static list of Questions and BuildPoints to satisfy the API contract
DefaultQuestionSet2(String, String, Phase) - Constructor for class nz.org.riskscape.wizard.survey2.DefaultQuestionSet2
 
DefaultQuestionSet2(String, Phase) - Constructor for class nz.org.riskscape.wizard.survey2.DefaultQuestionSet2
 
dependsOn(String) - Method in class nz.org.riskscape.wizard.survey2.AddQuestion
 
dependsOn(Question) - Method in class nz.org.riskscape.wizard.Question
Make a new Question that's dependent on the given questionName being asked first.
dependsOn(Question) - Method in class nz.org.riskscape.wizard.survey2.AddQuestion
 
description - Variable in class nz.org.riskscape.wizard.Choice
Extra help information to describe the choice
direction - Variable in class nz.org.riskscape.wizard.model2.report.SortExpression
 
discriminator - Variable in class nz.org.riskscape.wizard.BaseQuestionSet
 
distance - Variable in class nz.org.riskscape.wizard.model2.input.EnlargeBy
 
DslHelper - Class in nz.org.riskscape.wizard.model2
Provides some convenience methods to assist generating pipeline DSL code.
DslHelper() - Constructor for class nz.org.riskscape.wizard.model2.DslHelper
 

E

empty() - Static method in class nz.org.riskscape.wizard.survey2.QuestionTree
 
empty(IncrementalBuildState.Context) - Static method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
Create a new, empty incremental build state using the given dependencies.
EMPTY - Static variable in interface nz.org.riskscape.wizard.bld.loc.ChangeLocation
Magic value for null
EMPTY_ANSWER - Static variable in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
EMPTY_PHASE - Static variable in interface nz.org.riskscape.wizard.survey2.Phase
A phase that contains nothing and does nothing, useful as a null alternative
EMPTY_QUESTION - Static variable in class nz.org.riskscape.wizard.bld.IncrementalBuildState
The Question associated with an empty build state, i.e.
EMPTY_QUESTION_SET - Static variable in class nz.org.riskscape.wizard.bld.IncrementalBuildState
The QuestionSet associated with an empty build state, i.e.
EMPTY_SURVEY - Static variable in interface nz.org.riskscape.wizard.Survey
A survey that contains no questions and does nothing.
EmptyQuestionSet - Class in nz.org.riskscape.wizard
 
EmptyQuestionSet(String, Survey) - Constructor for class nz.org.riskscape.wizard.EmptyQuestionSet
 
EmptySurvey - Class in nz.org.riskscape.wizard
 
EmptySurvey(String, MessageSource) - Constructor for class nz.org.riskscape.wizard.EmptySurvey
 
END - Static variable in interface nz.org.riskscape.wizard.bld.loc.ChangeLocation
Magic locator that signals that a change applies at the very end of the pipeline, which might vary in its interpretation, depending on the change it is applied to, but typically only meaningful for a new StepChain being inserted
EndOfBranchWith - Class in nz.org.riskscape.wizard.bld.loc
Locates the last step in a chain that begins with a particular step.
EndOfBranchWith(ChangeLocation) - Constructor for class nz.org.riskscape.wizard.bld.loc.EndOfBranchWith
 
EnlargeBy - Class in nz.org.riskscape.wizard.model2.input
 
EnlargeBy() - Constructor for class nz.org.riskscape.wizard.model2.input.EnlargeBy
 
EQUAL - Enum constant in enum class nz.org.riskscape.wizard.model2.input.FilterByAttribute.Comparator
 
equals(Object) - Method in class nz.org.riskscape.wizard.Answer
 
equals(Object) - Method in class nz.org.riskscape.wizard.Answer.Response
 
equals(Object) - Method in class nz.org.riskscape.wizard.AskAs
 
equals(Object) - Method in class nz.org.riskscape.wizard.BaseQuestionSet
 
equals(Object) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState.Context
 
equals(Object) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
equals(Object) - Method in class nz.org.riskscape.wizard.Choice
 
equals(Object) - Method in class nz.org.riskscape.wizard.ExpressionHelper.AttributeMetadata
 
equals(Object) - Method in class nz.org.riskscape.wizard.ExpressionHelper.AttributeValue
 
equals(Object) - Method in class nz.org.riskscape.wizard.Question
 
equals(Object) - Method in class nz.org.riskscape.wizard.survey2.PickQuestionSet
 
EXPOSED_RATIO - Static variable in class nz.org.riskscape.wizard.model2.smp.SamplePhase
The ratio of sampled hazard geometry to original exposure geometry that can be used to scale losses.
EXPOSURE_ATTRIBUTE - Static variable in class nz.org.riskscape.wizard.model2.input.InputDataPhase
 
expression - Variable in class nz.org.riskscape.wizard.model2.input.RecomputeAttribute
 
ExpressionHelper - Class in nz.org.riskscape.wizard
Helper to access attribute information that's helpful when answering questions that require an Expression answer.
ExpressionHelper(Question, Struct) - Constructor for class nz.org.riskscape.wizard.ExpressionHelper
Creates a helper for the given struct context.
ExpressionHelper.AttributeMetadata - Class in nz.org.riskscape.wizard
Represents an attribute (member) of the context struct that could be referenced in an expression.
ExpressionHelper.AttributeValue - Class in nz.org.riskscape.wizard
Represents the value that an attribute may contain.

F

failed(List<Problem>) - Static method in interface nz.org.riskscape.wizard.bld.PipelineChange
 
featureExpression - Variable in class nz.org.riskscape.wizard.model2.input.FilterByLayer
 
fieldifyQuestion(Question, Class<?>, String) - Static method in class nz.org.riskscape.wizard.bind.CompositeBinder
Returns a new Question that is modified for representing a sub-question for a given field
fieldifyQuestion(Question, Field) - Static method in class nz.org.riskscape.wizard.bind.CompositeBinder
Returns a new Question that is modified for representing a sub-question for a given field
fieldName(Field) - Static method in class nz.org.riskscape.wizard.bind.CompositeBinder
 
fieldName(Question) - Static method in class nz.org.riskscape.wizard.bind.CompositeBinder
Pulls the field name back out of a sub-question we've already created
FilterByAttribute - Class in nz.org.riskscape.wizard.model2.input
 
FilterByAttribute() - Constructor for class nz.org.riskscape.wizard.model2.input.FilterByAttribute
 
FilterByAttribute.Comparator - Enum Class in nz.org.riskscape.wizard.model2.input
 
FilterByLayer - Class in nz.org.riskscape.wizard.model2.input
 
FilterByLayer() - Constructor for class nz.org.riskscape.wizard.model2.input.FilterByLayer
 
FilterType - Enum Class in nz.org.riskscape.wizard.model2.input
 
FINAL_QUESTION - Static variable in interface nz.org.riskscape.wizard.QuestionSet
Used as a unique question to act as a place for a final change to hang from - it needs a unique question for the change to hang from, otherwise IncrementalBuildState.append(PipelineChange, nz.org.riskscape.pipeline.ast.PipelineDeclaration, nz.org.riskscape.engine.pipeline.RealizedPipeline) will complain.
find(Predicate<QuestionTree.Node>) - Method in class nz.org.riskscape.wizard.survey2.QuestionTree
Find all the nodes in the tree that match the given predicate in breadth-first order
find(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.bld.loc.AtLastChange
 
find(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.bld.loc.AtStepNamed
 
find(IncrementalBuildState) - Method in interface nz.org.riskscape.wizard.bld.loc.ChangeLocation
 
find(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.bld.loc.EndOfBranchWith
 
findLastChange(PipelineDeclaration, PipelineDeclaration) - Method in class nz.org.riskscape.wizard.bld.loc.AtLastChange
 
findOne(Predicate<QuestionTree.Node>) - Method in class nz.org.riskscape.wizard.survey2.QuestionTree
Find a single node in the tree using the given predicate
findOne(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.bld.loc.AtLastChange
 
findOne(IncrementalBuildState) - Method in interface nz.org.riskscape.wizard.bld.loc.ChangeLocation
 
findQuestion(Question) - Method in class nz.org.riskscape.wizard.survey2.QuestionTree
Locate the node that points to the given question
forAggregation(IncrementalBuildState) - Static method in class nz.org.riskscape.wizard.survey2.Choices
Returns a list of choices of aggregation functions for the wizard.
forAggregationNonInteractive(IncrementalBuildState) - Static method in class nz.org.riskscape.wizard.survey2.Choices
Returns a list of choices of aggregation functions for the wizard.
forBookmarks(IncrementalBuildState) - Static method in class nz.org.riskscape.wizard.survey2.Choices
 
forEnum(Class<? extends Enum<?>>) - Static method in class nz.org.riskscape.wizard.survey2.Choices
 
forEnums(List<? extends Enum<?>>) - Static method in class nz.org.riskscape.wizard.survey2.Choices
 
forFunctions(IncrementalBuildState, Collection<IdentifiedFunction.Category>) - Static method in class nz.org.riskscape.wizard.survey2.Choices
 
forIdentified(Question, IncrementalBuildState) - Static method in class nz.org.riskscape.wizard.survey2.Choices
 
formatName(String) - Static method in class nz.org.riskscape.wizard.Question
 
forScope(Struct, Question) - Static method in class nz.org.riskscape.wizard.survey2.Choices
 
forScope(IncrementalBuildState, Question) - Static method in class nz.org.riskscape.wizard.survey2.Choices
 
from(Question, IncrementalBuildState) - Static method in class nz.org.riskscape.wizard.survey2.Choices
 
fromList(List<Question>) - Static method in class nz.org.riskscape.wizard.survey2.QuestionTree
Builds a QuestionTree by searching through the questions in order and building a tree from their dependencies.
function - Variable in class nz.org.riskscape.wizard.bind.AggregationExpression
 

G

GEOPROCESS_QUESTION - Static variable in class nz.org.riskscape.wizard.model2.input.Geoprocessing
 
Geoprocessing - Class in nz.org.riskscape.wizard.model2.input
 
Geoprocessing() - Constructor for class nz.org.riskscape.wizard.model2.input.Geoprocessing
 
get() - Static method in interface nz.org.riskscape.wizard.WizardProblems
 
get(String) - Method in class nz.org.riskscape.wizard.survey2.DefaultQuestionSet2
 
getAfterQuestion() - Method in class nz.org.riskscape.wizard.bld.dsl.BasicBuildPoint
The name of the question that this build point applies after
getAllAnswers() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
getAnalysisOutputStepName() - Method in class nz.org.riskscape.wizard.model2.ModelSurvey2
 
getAnalysisOutputStepName() - Method in interface nz.org.riskscape.wizard.Survey
Surveys should make the output of the analysis phase available at a known step name.
getAnnotation(String) - Method in class nz.org.riskscape.wizard.Question
 
getAnnotations() - Method in class nz.org.riskscape.wizard.Question
 
getAnswer() - Method in class nz.org.riskscape.wizard.bld.change.AppendJoinChange
 
getAnswer() - Method in class nz.org.riskscape.wizard.bld.change.BasePipelineChange
 
getAnswer() - Method in class nz.org.riskscape.wizard.bld.change.MultipleChanges
 
getAnswer() - Method in class nz.org.riskscape.wizard.bld.change.NoChange
 
getAnswer() - Method in class nz.org.riskscape.wizard.bld.change.SimpleChange
 
getAnswer() - Method in class nz.org.riskscape.wizard.bld.dsl.PipelineChangeInput
 
getAnswer() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
getAnswer() - Method in exception nz.org.riskscape.wizard.bld.InvalidAnswerException
 
getAnswer() - Method in interface nz.org.riskscape.wizard.bld.PipelineChange
 
getAnswer(String, String) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
getAnswer(Question) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
getAnswersTo(String, String, Class<T>) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
getAnswerTo(String, String, Class<T>) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
getApplicableQuestionSets(IncrementalBuildState) - Method in interface nz.org.riskscape.wizard.Survey
 
getApplicableQuestionSets(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.survey2.BaseSurvey
 
getArity() - Method in class nz.org.riskscape.wizard.Question
 
getAskAs() - Method in class nz.org.riskscape.wizard.Question
 
getAskedAs() - Method in class nz.org.riskscape.wizard.Question
 
getAst() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
The current pipeline ast.
getAttributeChoices() - Method in class nz.org.riskscape.wizard.ExpressionHelper
 
getAttributeMetadata() - Method in class nz.org.riskscape.wizard.ExpressionHelper
Returns a complete list of attributes (included those nested within structs) that contained in the context struct.
getAttributeMetadata(List<Class<? extends Type>>) - Method in class nz.org.riskscape.wizard.ExpressionHelper
Obtains a list of attributes that are found by re-cursing into the context struct.
getAttributeName(String) - Static method in class nz.org.riskscape.wizard.model2.input.InputDataPhase
We refer to the input-data layer in the plural form, but the pipeline attribute in the singular.
getAttributeType(Struct, String, Class<T>) - Static method in class nz.org.riskscape.wizard.model2.DslHelper
 
getAvailableQuestionSets(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.model2.input.InputDataPhase
 
getAvailableQuestionSets(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.model2.report.ReportPhase
 
getAvailableQuestionSets(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.survey2.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
getBindingContext() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
getBindingContext() - Method in class nz.org.riskscape.wizard.WizardProcessor
 
getBoundValue() - Method in class nz.org.riskscape.wizard.Answer.Response
The result of converting user input in to an object that matches the type declared by Question.getParameterType()
getBuilder() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
getBuilding() - Method in class nz.org.riskscape.wizard.survey2.AddQuestion
 
getBuildParameterSet() - Method in class nz.org.riskscape.wizard.WizardModelFramework
 
getBuildPoint() - Method in class nz.org.riskscape.wizard.bld.dsl.PipelineChangeInput
The build point that was triggered
getBuildPoints() - Method in class nz.org.riskscape.wizard.survey2.DefaultQuestionSet2
 
getBuildState() - Method in class nz.org.riskscape.wizard.bld.dsl.PipelineChangeInput
 
getBuildState() - Method in exception nz.org.riskscape.wizard.bld.InvalidAnswerException
 
getBuildState() - Method in class nz.org.riskscape.wizard.WizardProcessor
 
getCanApplyTo() - Method in class nz.org.riskscape.wizard.Applicability
 
getChange(IncrementalBuildState, Answer) - Method in class nz.org.riskscape.wizard.bld.dsl.BasicBuildPoint
 
getChange(IncrementalBuildState, Answer) - Method in interface nz.org.riskscape.wizard.bld.dsl.BuildPoint
 
getChangeLocation() - Method in class nz.org.riskscape.wizard.bld.dsl.PipelineChangeInput
 
getChangeLocation() - Method in class nz.org.riskscape.wizard.Question
 
getChoiceFunction() - Method in class nz.org.riskscape.wizard.Question
 
getChoices(Locale) - Method in class nz.org.riskscape.wizard.WizardModelParameter
 
getChoices(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.Question
 
getCompositeSubparts() - Method in class nz.org.riskscape.wizard.Question
 
getCompositeSubparts(Question) - Method in class nz.org.riskscape.wizard.AskAs
 
getCompositeSubparts(Question, Class<?>) - Static method in class nz.org.riskscape.wizard.Question
 
getConfigToWrite(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.ConfigParser
 
getContext() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
Various static dependencies, i.e.
getContext() - Method in class nz.org.riskscape.wizard.ExpressionHelper
The fully qualified context that expressions would have available when they are executed.
getCreatedBy() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
The change that was responsible for this state being created
getDatasetName(RealizedStep) - Static method in class nz.org.riskscape.wizard.model2.input.InputDataPhase
 
getDatasetsToSample(IncrementalBuildState) - Static method in class nz.org.riskscape.wizard.model2.input.InputDataPhase
 
getDefaultLocation() - Method in class nz.org.riskscape.wizard.survey2.DefaultQuestionSet2
A default location that gets assigned to Questions added via the addQuestion method when they are added to this set.
getDefinedPhases() - Method in interface nz.org.riskscape.wizard.Survey
 
getDefinedPhases() - Method in class nz.org.riskscape.wizard.survey2.BaseSurvey
 
getDependsOn() - Method in class nz.org.riskscape.wizard.Question
 
getDerivedFrom(Class<T>) - Method in class nz.org.riskscape.wizard.Choice
Convenience to return the underlying object in the correct type
getDescription(Locale) - Method in class nz.org.riskscape.wizard.BaseQuestionSet
 
getDescription(Locale) - Method in class nz.org.riskscape.wizard.Question
 
getDescription(Locale) - Method in interface nz.org.riskscape.wizard.QuestionSet
A human-friendly description for this QuestionSet
getDescription(Locale) - Method in interface nz.org.riskscape.wizard.Survey
 
getDescription(Locale) - Method in class nz.org.riskscape.wizard.WizardModelParameter
 
getDescription(TranslationContext) - Method in class nz.org.riskscape.wizard.Choice
 
getExecutionContext() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState.Context
 
getExecutionContext() - Method in class nz.org.riskscape.wizard.WizardProcessor
 
getExpressionType() - Method in class nz.org.riskscape.wizard.ExpressionHelper
 
getFailures() - Method in class nz.org.riskscape.wizard.WizardProcessor
 
getFeatures() - Method in class nz.org.riskscape.wizard.WizardPlugin
 
getFullyQualifiedName() - Method in class nz.org.riskscape.wizard.ExpressionHelper.AttributeMetadata
 
getFunctionCall(String, String) - Method in enum class nz.org.riskscape.wizard.model2.smp.SampleType
 
getFunctionCall(String, String, Object...) - Method in enum class nz.org.riskscape.wizard.model2.smp.SampleType
 
getI18nLookup() - Method in class nz.org.riskscape.wizard.Question
 
getId() - Method in class nz.org.riskscape.wizard.Answer
 
getId() - Method in class nz.org.riskscape.wizard.BaseQuestionSet
 
getId() - Method in class nz.org.riskscape.wizard.Question
Returns a unique ID for the Question (which is dependent on the QuestionSet it belongs to.
getId() - Method in interface nz.org.riskscape.wizard.QuestionSet
 
getId() - Method in interface nz.org.riskscape.wizard.Survey
A unique identifier for this survey.
getId() - Method in class nz.org.riskscape.wizard.survey2.BaseSurvey
 
getId() - Method in class nz.org.riskscape.wizard.WizardModelFramework
 
getInputStruct(ChangeLocation) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
getInputStruct(Question) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
getLabel() - Method in class nz.org.riskscape.wizard.ExpressionHelper.AttributeValue
 
getLabel() - Method in class nz.org.riskscape.wizard.WizardModelParameter
 
getLabel(TranslationContext) - Method in class nz.org.riskscape.wizard.Choice
 
getLast() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
The previous thing we built upon - will return this if this is the empty build state
getMessage(String, Locale) - Method in class nz.org.riskscape.wizard.Question
 
getMessage(String, Locale) - Method in class nz.org.riskscape.wizard.WizardModelParameter
 
getMessageSource() - Method in class nz.org.riskscape.wizard.Question
 
getMessageSource() - Method in interface nz.org.riskscape.wizard.Survey
A MessageSource that is specific to this survey.
getMessageSource() - Method in class nz.org.riskscape.wizard.survey2.BaseSurvey
 
getModelParameters(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.ConfigParser
 
getName() - Method in class nz.org.riskscape.wizard.BaseQuestionSet
 
getName() - Method in class nz.org.riskscape.wizard.ExpressionHelper.AttributeMetadata
 
getName() - Method in class nz.org.riskscape.wizard.Question
 
getName() - Method in interface nz.org.riskscape.wizard.QuestionSet
 
getName(Locale) - Method in class nz.org.riskscape.wizard.survey2.BasePhase
 
getName(Locale) - Method in interface nz.org.riskscape.wizard.survey2.Phase
 
getNextQuestion(IncrementalBuildState) - Method in interface nz.org.riskscape.wizard.Survey
Convenience method that'll return the next available question, or null if there are none to answer.
getNextQuestions() - Method in class nz.org.riskscape.wizard.WizardProcessor
Returns the list of questions to be considered next, hiding those that are hidden or those that must be answered after a required one.
getNextQuestions(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.survey2.QuestionTree
Query the tree to find the list of questions that should be presented to the user as being asked next.
getOriginalInput() - Method in class nz.org.riskscape.wizard.Answer.Response
The input from the user that was used to create Answer.Response.boundValue
getOriginalResponses() - Method in class nz.org.riskscape.wizard.Answer
 
getParameters() - Method in class nz.org.riskscape.wizard.survey2.DefaultQuestionSet2
Returns Parameters that represent this set of questions.
getParameterType() - Method in class nz.org.riskscape.wizard.Question
 
getParameterType() - Method in class nz.org.riskscape.wizard.survey2.AddQuestion
 
getParent() - Method in class nz.org.riskscape.wizard.survey2.QuestionTree.Node
 
getPhase() - Method in class nz.org.riskscape.wizard.EmptyQuestionSet
 
getPhase() - Method in class nz.org.riskscape.wizard.Question
 
getPhase() - Method in interface nz.org.riskscape.wizard.QuestionSet
 
getPhase() - Method in class nz.org.riskscape.wizard.survey2.DefaultQuestionSet2
 
getPhaseOfType(Class<T>) - Method in class nz.org.riskscape.wizard.survey2.BaseSurvey
Look up a Phase by its implementing class (Assuming they are unique).
getPhases() - Method in class nz.org.riskscape.wizard.survey2.BaseSurvey
 
getPipelineBuilder() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState.Context
 
getPipelineChange(IncrementalBuildState, Answer) - Method in class nz.org.riskscape.wizard.EmptyQuestionSet
 
getPipelineChange(IncrementalBuildState, Answer) - Method in interface nz.org.riskscape.wizard.QuestionSet
Returns a PipelineChange that is created by applying an answer a build state.
getPipelineChange(IncrementalBuildState, Answer) - Method in interface nz.org.riskscape.wizard.Survey
Returns a PipelineChange that is created by applying an answer a build state.
getPipelineChange(IncrementalBuildState, Answer) - Method in class nz.org.riskscape.wizard.survey2.BaseSurvey
 
getPipelineChange(IncrementalBuildState, Answer) - Method in class nz.org.riskscape.wizard.survey2.DefaultQuestionSet2
 
getPipelineChanger() - Method in class nz.org.riskscape.wizard.bld.dsl.BasicBuildPoint
A bit of code that can make changes to a pipeline in response to answered questions.
getPipelineExecutor() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
getProject() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
getProject() - Method in class nz.org.riskscape.wizard.WizardProcessor
The project this survey is being processed against
getProperties() - Method in class nz.org.riskscape.wizard.WizardModelParameter
 
getQuestion() - Method in class nz.org.riskscape.wizard.Answer
The question that was answered
getQuestion() - Method in class nz.org.riskscape.wizard.bld.dsl.PipelineChangeInput
 
getQuestion() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
getQuestion() - Method in interface nz.org.riskscape.wizard.bld.PipelineChange
 
getQuestion() - Method in class nz.org.riskscape.wizard.ExpressionHelper
The Question that this helper is to help answer.
getQuestion() - Method in class nz.org.riskscape.wizard.survey2.QuestionTree.Node
 
getQuestion() - Method in class nz.org.riskscape.wizard.WizardModelParameter
 
getQuestions() - Method in interface nz.org.riskscape.wizard.QuestionSet
The list of questions that this question set contains.
getQuestions() - Method in class nz.org.riskscape.wizard.survey2.DefaultQuestionSet2
 
getQuestionSet() - Method in class nz.org.riskscape.wizard.Answer
 
getQuestionSet() - Method in class nz.org.riskscape.wizard.Applicability
 
getQuestionSet() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
getQuestionSet() - Method in interface nz.org.riskscape.wizard.bld.PipelineChange
 
getQuestionSet() - Method in class nz.org.riskscape.wizard.Question
 
getQuestionSet() - Method in class nz.org.riskscape.wizard.survey2.AddQuestion
 
getQuestionSetId() - Method in class nz.org.riskscape.wizard.survey2.PickQuestionSet
 
getQuestionTree() - Method in class nz.org.riskscape.wizard.WizardProcessor
The current QuestionTree for the processor, building a new one of the current one is empty/complete.
getQuestionTree(IncrementalBuildState) - Method in interface nz.org.riskscape.wizard.Survey
 
getQuestionTree(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.survey2.BaseSurvey
 
getRealizedPipeline() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
A small chunk of the overall pipeline that was realized for this state to be proven valid.
getRealizedStep() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
Attempts to return the end step that resulted from this state.
getResponse() - Method in class nz.org.riskscape.wizard.Answer
 
getResponse(Class<T>) - Method in class nz.org.riskscape.wizard.bld.dsl.PipelineChangeInput
Assuming the change was triggered by a single answer, this returns the single bound response that was part of the answer
getResponse(String, String, Class<T>) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
Optional-style version of getAnswerTo
getResponses() - Method in class nz.org.riskscape.wizard.Answer
 
getResponses(Class<T>) - Method in class nz.org.riskscape.wizard.bld.dsl.PipelineChangeInput
Same as PipelineChangeInput.getResponse(Class) but for Questions that accept multiple responses.
getRoot() - Method in class nz.org.riskscape.wizard.survey2.QuestionTree
The root of the tree - note that the question here is a placeholder and should never be asked - this is to make it simpler to support multiple questions without any dependencies - these questions are children of the root.
getShouldBeAsked() - Method in class nz.org.riskscape.wizard.Question
 
getSkipped(IncrementalBuildState, Question) - Method in class nz.org.riskscape.wizard.survey2.QuestionTree
 
getSource() - Method in class nz.org.riskscape.wizard.bld.change.AppendStepChange
 
getSource() - Method in class nz.org.riskscape.wizard.bld.change.BasePipelineChange
TODO maybe break this up in to something else?
getSource() - Method in class nz.org.riskscape.wizard.bld.change.StartChainChange
 
getSource() - Method in enum class nz.org.riskscape.wizard.model2.input.FilterByAttribute.Comparator
 
getStruct() - Method in class nz.org.riskscape.wizard.bld.dsl.PipelineChangeInput
 
getSubQuestion(String) - Method in class nz.org.riskscape.wizard.Question
 
getSummary(Locale) - Method in class nz.org.riskscape.wizard.Question
Returns of concise bit of text that summarizes this question.
getSurvey() - Method in class nz.org.riskscape.wizard.BaseQuestionSet
 
getSurvey() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState.Context
 
getSurvey() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
getSurvey() - Method in class nz.org.riskscape.wizard.Question
 
getSurvey() - Method in interface nz.org.riskscape.wizard.QuestionSet
 
getSurvey() - Method in class nz.org.riskscape.wizard.survey2.BasePhase
 
getSurvey() - Method in interface nz.org.riskscape.wizard.survey2.Phase
 
getSurvey() - Method in class nz.org.riskscape.wizard.WizardProcessor
The survey being processed.
getSurveyMessageBundleName(String) - Static method in interface nz.org.riskscape.wizard.Survey
Return a string that can be used as a bundle name for looking up a resource bundle / message source for a survey with the given surveyId
getTitle(Locale) - Method in class nz.org.riskscape.wizard.BaseQuestionSet
 
getTitle(Locale) - Method in class nz.org.riskscape.wizard.Question
 
getTitle(Locale) - Method in interface nz.org.riskscape.wizard.QuestionSet
A human-friendly title for this QuestionSet
getToAnswer() - Method in class nz.org.riskscape.wizard.AskAs
 
getType() - Method in class nz.org.riskscape.wizard.AskAs
 
getType() - Method in class nz.org.riskscape.wizard.ExpressionHelper.AttributeMetadata
 
getValue() - Method in class nz.org.riskscape.wizard.Choice
The actual value that gets bound and turned into pipeline code
getValue() - Method in class nz.org.riskscape.wizard.ExpressionHelper.AttributeValue
The value, or at least a String that could be parsed as an expression to the required value.
getValueAs(Class<T>) - Method in class nz.org.riskscape.wizard.Answer
 
getValues() - Method in class nz.org.riskscape.wizard.Answer
 
getValues(ExpressionHelper.AttributeMetadata) - Method in class nz.org.riskscape.wizard.ExpressionHelper
Attempt to get a list of possible values of the desired attribute.
getValuesAs(Class<T>) - Method in class nz.org.riskscape.wizard.Answer
Returns the bound value(s) for this answer as the given class.
getVersion() - Method in interface nz.org.riskscape.wizard.Survey
A version number that changes to indicate structural changes that might stop a previously saved version from working
getVersion(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.ConfigParser
 
GREATER_THAN - Enum constant in enum class nz.org.riskscape.wizard.model2.input.FilterByAttribute.Comparator
 
GREATER_THAN_EQUAL - Enum constant in enum class nz.org.riskscape.wizard.model2.input.FilterByAttribute.Comparator
 

H

hasAnnotation(String) - Method in class nz.org.riskscape.wizard.Question
 
hasAnnotationWithValue(String, String) - Method in class nz.org.riskscape.wizard.Question
 
hashCode() - Method in class nz.org.riskscape.wizard.Answer
 
hashCode() - Method in class nz.org.riskscape.wizard.Answer.Response
 
hashCode() - Method in class nz.org.riskscape.wizard.AskAs
 
hashCode() - Method in class nz.org.riskscape.wizard.BaseQuestionSet
 
hashCode() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState.Context
 
hashCode() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
hashCode() - Method in class nz.org.riskscape.wizard.Choice
 
hashCode() - Method in class nz.org.riskscape.wizard.ExpressionHelper.AttributeMetadata
 
hashCode() - Method in class nz.org.riskscape.wizard.ExpressionHelper.AttributeValue
 
hashCode() - Method in class nz.org.riskscape.wizard.Question
 
hashCode() - Method in class nz.org.riskscape.wizard.survey2.PickQuestionSet
 
HAZARD_ATTRIBUTE - Static variable in class nz.org.riskscape.wizard.model2.input.InputDataPhase
 
HazardBufferExpression - Class in nz.org.riskscape.wizard.model2.smp
 
HazardBufferExpression() - Constructor for class nz.org.riskscape.wizard.model2.smp.HazardBufferExpression
 
hidden() - Method in class nz.org.riskscape.wizard.Question
Constructs a clone of this question, but makes it a hidden question.
hidden(Question) - Static method in class nz.org.riskscape.wizard.Answer
 
HIDDEN_VALUE - Static variable in class nz.org.riskscape.wizard.Question
The only instance of the hidden value you'll ever need.

I

id - Variable in class nz.org.riskscape.wizard.BaseQuestionSet
 
id - Variable in class nz.org.riskscape.wizard.survey2.BaseSurvey
 
ID - Static variable in class nz.org.riskscape.wizard.model2.ModelSurvey2
 
ifNotAnswered(String) - Method in class nz.org.riskscape.wizard.survey2.AddQuestion
Only asks this question if the other question was not answered (i.e.
ifResponseGiven(String, String, Class<T>, Consumer<T>) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
Functional style if that calls the callback if a response was given to the nominated question, returning true if the callback was called
ignoredParamsTip() - Method in interface nz.org.riskscape.wizard.ConfigParser.LocalProblems
 
IncompletePipelineChange - Interface in nz.org.riskscape.wizard.bld.dsl
An IncompletePipelineChange is a promise to return a PipelineChange once the defining answer is specified.
IncrementalBuildState - Class in nz.org.riskscape.wizard.bld
The results of building a pipeline incrementally in response to wizard Answers being supplied and PipelineChanges being made.
IncrementalBuildState(IncrementalBuildState.Context, IncrementalBuildState, PipelineChange, PipelineDeclaration, RealizedPipeline) - Constructor for class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
IncrementalBuildState.Context - Class in nz.org.riskscape.wizard.bld
All the unchanging elements of the IncrementalBuildState, wrapped up in a class for ease of copying/referencing.
indicesNotContiguous(String, int) - Method in interface nz.org.riskscape.wizard.ConfigParser.LocalProblems
 
initializeEngine(Engine) - Method in class nz.org.riskscape.wizard.WizardPlugin
 
InputDataPhase - Class in nz.org.riskscape.wizard.model2.input
 
InputDataPhase(Survey) - Constructor for class nz.org.riskscape.wizard.model2.input.InputDataPhase
 
inSet(QuestionSet) - Method in class nz.org.riskscape.wizard.Question
 
INSTANCE - Static variable in class nz.org.riskscape.wizard.bld.loc.AtLastChange
 
invalidAnswer(Parameter) - Method in interface nz.org.riskscape.wizard.WizardProblems
 
InvalidAnswerException - Exception in nz.org.riskscape.wizard.bld
Thrown when we cannot generate a PipelineChange because the user has supplied an invalid response.
InvalidAnswerException(PipelineChangeInput, List<Problem>) - Constructor for exception nz.org.riskscape.wizard.bld.InvalidAnswerException
 
InvalidAnswerException(PipelineChangeInput, Problem...) - Constructor for exception nz.org.riskscape.wizard.bld.InvalidAnswerException
 
isA(Class<T>) - Method in class nz.org.riskscape.wizard.Choice
Checks if the underlying object is of the given type, and returns it if so
isApplicable() - Method in class nz.org.riskscape.wizard.Applicability
 
isAskAs() - Method in class nz.org.riskscape.wizard.Question
 
isComplete(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.survey2.BasePhase
 
isComplete(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.survey2.QuestionTree
 
isComposite() - Method in class nz.org.riskscape.wizard.Question
 
isComposite(Class<?>) - Static method in class nz.org.riskscape.wizard.Question
 
isDone() - Method in class nz.org.riskscape.wizard.WizardProcessor
 
isEmpty() - Method in class nz.org.riskscape.wizard.Answer
 
isEmpty() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
isEmpty() - Method in class nz.org.riskscape.wizard.survey2.QuestionTree
 
isFailed() - Method in class nz.org.riskscape.wizard.WizardProcessor
 
isFinished(IncrementalBuildState) - Method in interface nz.org.riskscape.wizard.Survey
 
isFinished(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.survey2.BaseSurvey
 
isFollowing(Question) - Method in class nz.org.riskscape.wizard.Question
 
isHazardDataset(String) - Static method in class nz.org.riskscape.wizard.model2.input.InputDataPhase
 
isHidden() - Method in class nz.org.riskscape.wizard.Question
 
isInvalid() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
isMultiHazard(IncrementalBuildState) - Static method in class nz.org.riskscape.wizard.model2.input.InputDataPhase
 
isMultiple() - Method in class nz.org.riskscape.wizard.bld.loc.AtStepNamed
 
isMultiple() - Method in interface nz.org.riskscape.wizard.bld.loc.ChangeLocation
 
isMultiple() - Method in class nz.org.riskscape.wizard.bld.loc.EndOfBranchWith
 
isOptional() - Method in class nz.org.riskscape.wizard.Question
The opposite (negation) of isRequired
isQuestionSetAnswered(String) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
Determine whether a question set with the given id appears in this build state's change stack, indicating that the question set has been responded to or skipped
isQuestionSetReplayOrdered() - Method in interface nz.org.riskscape.wizard.Survey
Returns whether or not the replay order of QuestionSets matters, i.e.
isRequired() - Method in class nz.org.riskscape.wizard.Question
 
isRequired(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.Question
Check if the question is really required.
isResponseGiven() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
isResponseGiven(String, String) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
Determine whether a response has been given to a question by its name local to the current question set.
isSameQuestion(Question) - Method in class nz.org.riskscape.wizard.Answer
Returns true if this answer was given for the given question and question set
isSingleValueQuestion() - Method in class nz.org.riskscape.wizard.Question
 
isSkip() - Method in class nz.org.riskscape.wizard.survey2.PickQuestionSet
 
isTopLevel() - Method in class nz.org.riskscape.wizard.survey2.QuestionTree.Node
 
isUnassigned() - Method in class nz.org.riskscape.wizard.Question
 

J

joins(ChangeLocation, String, Object...) - Method in class nz.org.riskscape.wizard.bld.change.AppendJoinChange.Builder
 
joins(ChangeLocation, StepChain) - Method in class nz.org.riskscape.wizard.bld.change.AppendJoinChange.Builder
 

L

LAST_STEP_NAME - Static variable in class nz.org.riskscape.wizard.model2.analysis.AnalysisPhase
 
lastAnswerWas(Object) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
Returns true if the last answer was the given value.
layer - Variable in class nz.org.riskscape.wizard.model2.input.FilterByLayer
 
LESS_THAN - Enum constant in enum class nz.org.riskscape.wizard.model2.input.FilterByAttribute.Comparator
 
LESS_THAN_EQUAL - Enum constant in enum class nz.org.riskscape.wizard.model2.input.FilterByAttribute.Comparator
 
lhs - Variable in class nz.org.riskscape.wizard.model2.input.FilterByAttribute
 
LHS - Enum constant in enum class nz.org.riskscape.wizard.bld.change.AppendJoinChange.Side
 
loadConfig(ExecutionContext, Map<String, List<?>>) - Method in class nz.org.riskscape.wizard.ConfigParser
Produces a IncrementalBuildState that's the same (roughly) as if the saved INI configToLoad had been entered as answers to the interactive wizard.
loadConfig2(Survey, ExecutionContext, Map<String, List<?>>) - Method in class nz.org.riskscape.wizard.ConfigParser
Produces a IncrementalBuildState that's the same (roughly) as if the saved INI configToLoad had been entered as answers to the interactive wizard.

M

MAIN_BRANCH - Static variable in class nz.org.riskscape.wizard.model2.input.InputDataPhase
The 'main' branch of the pipeline that subsequent phases should hang off.
make(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.bld.change.AppendJoinChange
 
make(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.bld.change.BasePipelineChange
 
make(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.bld.change.MultipleChanges
 
make(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.bld.change.NoChange
 
make(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.bld.change.SimpleChange
 
make(IncrementalBuildState) - Method in interface nz.org.riskscape.wizard.bld.PipelineChange
Attempt to create a new IncrementalBuildState for this change
many(List<IncompletePipelineChange>) - Static method in interface nz.org.riskscape.wizard.bld.PipelineChange
 
many(IncompletePipelineChange...) - Static method in interface nz.org.riskscape.wizard.bld.PipelineChange
 
messageSource - Variable in class nz.org.riskscape.wizard.survey2.BaseSurvey
 
mixedSubKeys(String, String) - Method in interface nz.org.riskscape.wizard.ConfigParser.LocalProblems
 
mode - Variable in class nz.org.riskscape.wizard.model2.input.EnlargeBy
 
ModelSurvey2 - Class in nz.org.riskscape.wizard.model2
 
ModelSurvey2(MessageSource) - Constructor for class nz.org.riskscape.wizard.model2.ModelSurvey2
 
MultipleChanges - Class in nz.org.riskscape.wizard.bld.change
A pipeline change that allows multiple individual changes to be combined in to one.
MultipleChanges(Answer, List<IncompletePipelineChange>) - Constructor for class nz.org.riskscape.wizard.bld.change.MultipleChanges
 
multipleKeysGiven(String) - Method in interface nz.org.riskscape.wizard.ConfigParser.LocalProblems
 

N

name - Variable in class nz.org.riskscape.wizard.BaseQuestionSet
 
newChain(String, Object...) - Static method in interface nz.org.riskscape.wizard.bld.PipelineChange
Add a new StepChain to the pipeline, disconnected from any other StepChains.
NO_VALUE - Static variable in class nz.org.riskscape.wizard.Question
Assigned to annotations without values, so that we don't have to deal with null
noChange() - Static method in interface nz.org.riskscape.wizard.bld.PipelineChange
 
NoChange - Class in nz.org.riskscape.wizard.bld.change
An answer was given, but no change is to be made to the pipeline's structure
NoChange(Answer) - Constructor for class nz.org.riskscape.wizard.bld.change.NoChange
 
Node(Question) - Constructor for class nz.org.riskscape.wizard.survey2.QuestionTree.Node
 
NOT_EQUAL - Enum constant in enum class nz.org.riskscape.wizard.model2.input.FilterByAttribute.Comparator
 
NUMERIC - Static variable in class nz.org.riskscape.wizard.AskerHints
We only want the user to specify a numeric attribute, i.e.
nz.org.riskscape.wizard - package nz.org.riskscape.wizard
 
nz.org.riskscape.wizard.bind - package nz.org.riskscape.wizard.bind
 
nz.org.riskscape.wizard.bld - package nz.org.riskscape.wizard.bld
 
nz.org.riskscape.wizard.bld.change - package nz.org.riskscape.wizard.bld.change
 
nz.org.riskscape.wizard.bld.dsl - package nz.org.riskscape.wizard.bld.dsl
 
nz.org.riskscape.wizard.bld.loc - package nz.org.riskscape.wizard.bld.loc
 
nz.org.riskscape.wizard.i18n - package nz.org.riskscape.wizard.i18n
 
nz.org.riskscape.wizard.model2 - package nz.org.riskscape.wizard.model2
 
nz.org.riskscape.wizard.model2.analysis - package nz.org.riskscape.wizard.model2.analysis
 
nz.org.riskscape.wizard.model2.input - package nz.org.riskscape.wizard.model2.input
 
nz.org.riskscape.wizard.model2.report - package nz.org.riskscape.wizard.model2.report
 
nz.org.riskscape.wizard.model2.smp - package nz.org.riskscape.wizard.model2.smp
 
nz.org.riskscape.wizard.survey2 - package nz.org.riskscape.wizard.survey2
 

O

ONE_AT_LEAST - Static variable in class nz.org.riskscape.wizard.Question
 
ONE_REQUIRED - Static variable in class nz.org.riskscape.wizard.Question
 
ONLY_INTERSECTIONS - Enum constant in enum class nz.org.riskscape.wizard.model2.input.CuttingIncludes
Only include the geometry that intersects with the layer we're cutting against, i.e.
OPTIONAL_MANY - Static variable in class nz.org.riskscape.wizard.Question
 
OPTIONAL_ONE - Static variable in class nz.org.riskscape.wizard.Question
 
optionalMany() - Method in class nz.org.riskscape.wizard.Question
 
optionalOne() - Method in class nz.org.riskscape.wizard.Question
 

P

Parameters() - Constructor for class nz.org.riskscape.wizard.WizardModelFramework.Parameters
 
parse(String) - Method in interface nz.org.riskscape.wizard.bld.PipelineChange
Helper method to attempt parsing some pipeline dsl source, wrapping any ParseExceptions in a BadPipelineChangeException
parseAnnotations(String...) - Method in class nz.org.riskscape.wizard.Question
 
percentiles(Project) - Static method in class nz.org.riskscape.wizard.survey2.Choices
 
Phase - Interface in nz.org.riskscape.wizard.survey2
A way of linking up parts of a survey up so that it can be progressed through linearly
phases - Variable in class nz.org.riskscape.wizard.survey2.BaseSurvey
 
PICK_ATTRIBUTE - Static variable in class nz.org.riskscape.wizard.AskerHints
Refine which attributes the user should be picking from, i.e.
PickQuestionSet - Class in nz.org.riskscape.wizard.survey2
Special parameter type used by surveys that is used to indicate a choice of question set.
PickQuestionSet() - Constructor for class nz.org.riskscape.wizard.survey2.PickQuestionSet
 
PickQuestionSet(String) - Constructor for class nz.org.riskscape.wizard.survey2.PickQuestionSet
 
PickQuestionSet(QuestionSet) - Constructor for class nz.org.riskscape.wizard.survey2.PickQuestionSet
 
PickQuestionSetBinder - Class in nz.org.riskscape.wizard.bind
Dirt simple binder for creating a PickQuestionSet from a string.
PickQuestionSetBinder() - Constructor for class nz.org.riskscape.wizard.bind.PickQuestionSetBinder
 
PipelineChange - Interface in nz.org.riskscape.wizard.bld
An operation that can return a possibly new IncrementalBuildState in response to an Answer.
PipelineChangeInput - Class in nz.org.riskscape.wizard.bld.dsl
Collected arguments that are given to a PipelineChanger so that it can return a PipelineChange
PipelineChangeInput(BuildPoint, Answer, IncrementalBuildState) - Constructor for class nz.org.riskscape.wizard.bld.dsl.PipelineChangeInput
 
PipelineChanger - Interface in nz.org.riskscape.wizard.bld.dsl
A PipelineChanger is the part of a BuildPoint that returns an IncompletePipelineChange.
PROBLEMS - Static variable in class nz.org.riskscape.wizard.ConfigParser
 

Q

Question - Class in nz.org.riskscape.wizard
A Question to ask the user within a Survey.
Question(String, Class<?>) - Constructor for class nz.org.riskscape.wizard.Question
 
Question.Hidden - Class in nz.org.riskscape.wizard
The parameter type assigned to all hidden questions.
Question.I18nLookupFunction - Interface in nz.org.riskscape.wizard
A functional interface for returning translated strings for a question.
questionSet - Variable in class nz.org.riskscape.wizard.survey2.PickQuestionSet
 
QuestionSet - Interface in nz.org.riskscape.wizard
A QuestionSet is a part of a Survey that groups together some questions that can apply a functionally similar set of changes to a PipelineDeclaration.
questionSetId - Variable in class nz.org.riskscape.wizard.survey2.PickQuestionSet
 
QuestionTree - Class in nz.org.riskscape.wizard.survey2
Imposes an ordered-tree structure on to a list of questions to centralize the logic of moving through a set of questions in the order that the questions impose with their dependencies and order in relation to each other.
QuestionTree.Node - Class in nz.org.riskscape.wizard.survey2
A node in the question tree

R

readyToBeAsked(IncrementalBuildState) - Method in class nz.org.riskscape.wizard.Question
Checks the dependent questions have already been asked and the question is applicable.
realizePipeline(Pipeline) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
Helper method for changes etc to realize a pipeline that was created from a PipelineDeclaration (so no supplementary parameters required)
realizePipeline(PipelineDeclaration) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
Helper method for attempting to construct and realize a pipeline from the given ast TODO see about moving this to ExecutionContext or PipelineExecutor, so that we can more easily go straight from AST to RealizedPipeline
RecomputeAttribute - Class in nz.org.riskscape.wizard.model2.input
 
RecomputeAttribute() - Constructor for class nz.org.riskscape.wizard.model2.input.RecomputeAttribute
 
remove(Question) - Method in class nz.org.riskscape.wizard.survey2.DefaultQuestionSet2
 
removeOverlaps - Variable in class nz.org.riskscape.wizard.model2.input.EnlargeBy
 
render(Messages, Object, Locale) - Method in class nz.org.riskscape.wizard.i18n.WizardObjectRenderer
 
ReportPhase - Class in nz.org.riskscape.wizard.model2.report
 
ReportPhase(Survey) - Constructor for class nz.org.riskscape.wizard.model2.report.ReportPhase
 
requiredOne() - Method in class nz.org.riskscape.wizard.Question
 
requireSingleValueQuestion() - Method in class nz.org.riskscape.wizard.Question
Explosive method for API users to fail fast if when they do a single value thing on a multi value question
RESOURCE_ATTRIBUTE - Static variable in class nz.org.riskscape.wizard.model2.input.InputDataPhase
 
Response(Object, Object) - Constructor for class nz.org.riskscape.wizard.Answer.Response
 
resultName - Variable in class nz.org.riskscape.wizard.bind.AggregationExpression
 
rewind() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
Removes trailing build states that have no response.
rhs - Variable in class nz.org.riskscape.wizard.model2.input.FilterByAttribute
 
RHS - Enum constant in enum class nz.org.riskscape.wizard.bld.change.AppendJoinChange.Side
 

S

SAMPLED_HAZARD - Static variable in class nz.org.riskscape.wizard.model2.smp.SamplePhase
The all-intersections sample result from the hazard-layer.
SamplePhase - Class in nz.org.riskscape.wizard.model2.smp
 
SamplePhase(Survey) - Constructor for class nz.org.riskscape.wizard.model2.smp.SamplePhase
 
SampleType - Enum Class in nz.org.riskscape.wizard.model2.smp
 
setDefaultLocation(ChangeLocation) - Method in class nz.org.riskscape.wizard.survey2.DefaultQuestionSet2
A default location that gets assigned to Questions added via the addQuestion method when they are added to this set.
setPipelineBuilder(PipelineBuilder) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState.Context
 
simple(BiFunction<Answer, IncrementalBuildState, PipelineDeclaration>) - Static method in interface nz.org.riskscape.wizard.bld.PipelineChange
 
simple(Survey, String, boolean, Consumer<DefaultQuestionSet2>) - Static method in class nz.org.riskscape.wizard.survey2.BasePhase
Create a BasePhase that wraps a single question set
SimpleChange - Class in nz.org.riskscape.wizard.bld.change
Allows for one-off changes to an AST that don't match an existing change type.
SimpleChange(Answer, BiFunction<Answer, IncrementalBuildState, PipelineDeclaration>) - Constructor for class nz.org.riskscape.wizard.bld.change.SimpleChange
 
single(Question, Object, Object) - Static method in class nz.org.riskscape.wizard.Answer
Useful testing constructor for assembling a single response answer
singleton(Question) - Static method in class nz.org.riskscape.wizard.survey2.QuestionTree
 
skip(IncrementalBuildState, List<Question>) - Static method in class nz.org.riskscape.wizard.bld.change.NoChange
 
skip(IncrementalBuildState, Question) - Method in interface nz.org.riskscape.wizard.Survey
Returns a PipelineChange that is created when skipping the given question.
skip(Question) - Static method in class nz.org.riskscape.wizard.Answer
 
skip(Question) - Method in class nz.org.riskscape.wizard.WizardProcessor
Skip the given question, including any follow up hidden questions.
SKIP - Static variable in interface nz.org.riskscape.wizard.QuestionSet
Presented to the user as a choice when optional QuestionSets can be skipped.
skipAll(List<Question>) - Method in class nz.org.riskscape.wizard.WizardProcessor
Skip the given list of questions, including any follow up hidden questions.
skipFailed(Question) - Method in interface nz.org.riskscape.wizard.WizardProblems
 
skippableQuestionSets - Variable in class nz.org.riskscape.wizard.survey2.BasePhase
 
SortExpression - Class in nz.org.riskscape.wizard.model2.report
 
SortExpression() - Constructor for class nz.org.riskscape.wizard.model2.report.SortExpression
 
START - Static variable in interface nz.org.riskscape.wizard.bld.loc.ChangeLocation
Magic locator that signals that a change applies at the very beginning of the pipeline, which might vary in its interpretation, depending on the change it is applied to, but typically only meaningful for a new StepChain being inserted
START_STEP_NAME - Static variable in class nz.org.riskscape.wizard.bld.IncrementalBuildState
The non-answer for an empty question.
START_STEPS_SET - Static variable in class nz.org.riskscape.wizard.bld.IncrementalBuildState
A set of RealizedStep that is returned from a QuestionSet's applicability method when it applies to an empty pipeline
StartChainChange - Class in nz.org.riskscape.wizard.bld.change
Change for adding a new StepChain to the pipeline being built
StartChainChange(Answer, String) - Constructor for class nz.org.riskscape.wizard.bld.change.StartChainChange
 
stepNamed(String) - Static method in class nz.org.riskscape.wizard.bld.loc.EndOfBranchWith
Convenience constructor that looks for a branch with a particular step name
strings(Question, String...) - Static method in class nz.org.riskscape.wizard.Answer
Useful testing constructor for creating answers for tests where the bound type is a string as well.
survey - Variable in class nz.org.riskscape.wizard.BaseQuestionSet
 
survey - Variable in class nz.org.riskscape.wizard.survey2.BasePhase
 
Survey - Interface in nz.org.riskscape.wizard
Survey interface that allows the survey to act as the controller part in an MVC-style set up.

T

TAG_EXPRESSION_TYPE - Static variable in class nz.org.riskscape.wizard.ExpressionHelper
Annotation key whose value determines the type of expression required.
TAG_EXPRESSION_TYPE_BOOLEAN - Static variable in class nz.org.riskscape.wizard.ExpressionHelper
Value for {@link #TAG<em>EXPRESSION</em>TYPE} to require an expression that should return a boolean when evaluated.
TAG_EXPRESSION_TYPE_NUMERIC - Static variable in class nz.org.riskscape.wizard.ExpressionHelper
Value for {@link #TAG<em>EXPRESSION</em>TYPE} to require an expression that should return a numeric value when evaluated.
TAG_LAYER_NAME - Static variable in class nz.org.riskscape.wizard.ExpressionHelper
Annotation whose value is the member name that layer will be stored in.
TAG_LAYER_QUESTION_NAME - Static variable in class nz.org.riskscape.wizard.ExpressionHelper
Annotation whose value ought to be a Question name that will contain a Relation containing ResolvedBookmark.
tagKey() - Element in annotation interface nz.org.riskscape.wizard.CompositeField
 
tagValue() - Element in annotation interface nz.org.riskscape.wizard.CompositeField
 
then(PipelineChanger) - Method in class nz.org.riskscape.wizard.survey2.AddQuestion
Finish adding the question to the set by describing the change to make when it is answered
then(TypedPipelineChanger<T>) - Method in class nz.org.riskscape.wizard.survey2.AddQuestion
Finish adding the question to the set by describing the change to make when it is answered.
thenForEach(BiFunction<PipelineChangeInput, List<T>, IncompletePipelineChange>) - Method in class nz.org.riskscape.wizard.survey2.AddQuestion
Same as AddQuestion.then(TypedPipelineChanger) but handles multi-valued Questions.
thenNoChange() - Method in class nz.org.riskscape.wizard.survey2.AddQuestion
 
toAnswer(T) - Method in class nz.org.riskscape.wizard.AskAs
 
toParameter() - Method in class nz.org.riskscape.wizard.Answer
 
toParameter() - Method in class nz.org.riskscape.wizard.Question
Returns a Parameter representing this question (so that saved wizard answers can be overridden from the CLI).
toParameter(TranslationContext) - Method in class nz.org.riskscape.wizard.Choice
 
toSource() - Method in class nz.org.riskscape.wizard.bind.AggregationExpression
 
toSource() - Method in class nz.org.riskscape.wizard.model2.input.FilterByAttribute
 
toString() - Method in class nz.org.riskscape.wizard.Answer.Response
 
toString() - Method in class nz.org.riskscape.wizard.Answer
 
toString() - Method in class nz.org.riskscape.wizard.AskAs
 
toString() - Method in class nz.org.riskscape.wizard.bld.change.AppendJoinChange
 
toString() - Method in class nz.org.riskscape.wizard.bld.change.BasePipelineChange
 
toString() - Method in class nz.org.riskscape.wizard.bld.change.MultipleChanges
 
toString() - Method in class nz.org.riskscape.wizard.bld.change.NoChange
 
toString() - Method in class nz.org.riskscape.wizard.bld.change.SimpleChange
 
toString() - Method in class nz.org.riskscape.wizard.bld.change.StartChainChange
 
toString() - Method in class nz.org.riskscape.wizard.bld.dsl.BasicBuildPoint
 
toString() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState.Context
 
toString() - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
 
toString() - Method in class nz.org.riskscape.wizard.bld.loc.AtLastChange
 
toString() - Method in interface nz.org.riskscape.wizard.bld.loc.ChangeLocation
 
toString() - Method in class nz.org.riskscape.wizard.bld.loc.EndOfBranchWith
 
toString() - Method in class nz.org.riskscape.wizard.ExpressionHelper.AttributeValue
 
toString() - Method in class nz.org.riskscape.wizard.Question.Hidden
 
toString() - Method in class nz.org.riskscape.wizard.Question
 
toString() - Method in class nz.org.riskscape.wizard.survey2.DefaultQuestionSet2
 
toString() - Method in class nz.org.riskscape.wizard.survey2.PickQuestionSet
 
toString(Class<?>, Answer, String) - Static method in class nz.org.riskscape.wizard.bld.change.BasePipelineChange
Template for a pipeline change tostring
toUserFriendlyString(String) - Method in class nz.org.riskscape.wizard.WizardModelParameter
 
TypedPipelineChanger<T> - Interface in nz.org.riskscape.wizard.bld.dsl
A TypedPipelineChanger is the part of a BuildPoint that returns an IncompletePipelineChange.

U

UNASSIGNED - Static variable in interface nz.org.riskscape.wizard.QuestionSet
Used when a Question belongs to nothing (yet)
undo() - Method in class nz.org.riskscape.wizard.WizardProcessor
Rewind the processor to the previously answered question, skipping hidden questions and clearing failures.
unfinishedSurvey(String) - Method in interface nz.org.riskscape.wizard.ConfigParser.LocalProblems
 
updateAst(IncrementalBuildState, PipelineDeclaration, StepChain) - Method in class nz.org.riskscape.wizard.bld.change.AppendStepChange
 
updateAst(IncrementalBuildState, PipelineDeclaration, StepChain) - Method in class nz.org.riskscape.wizard.bld.change.StartChainChange
 
updateAst(IncrementalBuildState, PipelineDeclaration, T) - Method in class nz.org.riskscape.wizard.bld.change.BasePipelineChange
Build a new AST that is the result of this change

V

validateParsedSegment(PipelineDeclaration) - Method in class nz.org.riskscape.wizard.bld.change.AppendStepChange
Validate and extract the relevant bit of AST from the parsed pipeline - relevance is as decided by the change and is mostly a convenience / reminder to do this step
validateParsedSegment(PipelineDeclaration) - Method in class nz.org.riskscape.wizard.bld.change.BasePipelineChange
Validate that the parsed pipeline segment is ok to use in this kind of change.
validateParsedSegment(PipelineDeclaration) - Method in class nz.org.riskscape.wizard.bld.change.StartChainChange
 
valueOf(String) - Static method in enum class nz.org.riskscape.wizard.bld.change.AppendJoinChange.Side
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class nz.org.riskscape.wizard.model2.input.CuttingIncludes
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class nz.org.riskscape.wizard.model2.input.CutType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class nz.org.riskscape.wizard.model2.input.FilterByAttribute.Comparator
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class nz.org.riskscape.wizard.model2.input.FilterType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class nz.org.riskscape.wizard.model2.smp.SampleType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class nz.org.riskscape.wizard.bld.change.AppendJoinChange.Side
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class nz.org.riskscape.wizard.model2.input.CuttingIncludes
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class nz.org.riskscape.wizard.model2.input.CutType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class nz.org.riskscape.wizard.model2.input.FilterByAttribute.Comparator
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class nz.org.riskscape.wizard.model2.input.FilterType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class nz.org.riskscape.wizard.model2.smp.SampleType
Returns an array containing the constants of this enum class, in the order they are declared.
visitBfs(BiConsumer<QuestionTree.Node, T>, T) - Method in class nz.org.riskscape.wizard.survey2.QuestionTree
Simpler version of QuestionTree.visitBfs(BiFunction, Object) that doesn't require the visitor to return data - it just returns whatever was given as the data parameter
visitBfs(BiFunction<QuestionTree.Node, T, T>, T) - Method in class nz.org.riskscape.wizard.survey2.QuestionTree
Visit the tree in breadth first order

W

wasAsked(String, String) - Method in class nz.org.riskscape.wizard.bld.IncrementalBuildState
Determine whether a question has been asked, regardless of whether the user provided a response or just chose to skip the question.
WELL_KNOWN_STEP - Static variable in class nz.org.riskscape.wizard.model2.smp.SamplePhase
A step with this name is appended to the pipeline when this phase is finished
withAnnotations(String, String) - Method in class nz.org.riskscape.wizard.Question
 
withAnnotations(String, String, String, String) - Method in class nz.org.riskscape.wizard.Question
 
withAnnotations(String, String, String, String, String, String) - Method in class nz.org.riskscape.wizard.Question
 
withAskAs(Class<T>, Function<T, String>) - Method in class nz.org.riskscape.wizard.Question
 
withAskAs(AskAs<?>) - Method in class nz.org.riskscape.wizard.Question
 
withChoices(Function<IncrementalBuildState, List<Choice>>) - Method in class nz.org.riskscape.wizard.Question
 
withI18nLookup(BiFunction<String, Locale, String>) - Method in class nz.org.riskscape.wizard.Question
 
withI18nLookup(Question.I18nLookupFunction) - Method in class nz.org.riskscape.wizard.Question
 
withName(String) - Method in class nz.org.riskscape.wizard.Question
 
withType(Class<?>) - Method in class nz.org.riskscape.wizard.Question
Clone this question, but with a new parameter type field.
WizardModelFramework - Class in nz.org.riskscape.wizard
Builds a model from a saved set of wizard answers.
WizardModelFramework(Engine) - Constructor for class nz.org.riskscape.wizard.WizardModelFramework
 
WizardModelFramework.Parameters - Class in nz.org.riskscape.wizard
 
WizardModelParameter - Class in nz.org.riskscape.wizard
A ModelParameter that is specific to a wizard framework model.
WizardModelParameter(Parameter, Question, IncrementalBuildState) - Constructor for class nz.org.riskscape.wizard.WizardModelParameter
 
WizardModelParameter(Question, IncrementalBuildState) - Constructor for class nz.org.riskscape.wizard.WizardModelParameter
 
WizardObjectRenderer - Class in nz.org.riskscape.wizard.i18n
 
WizardObjectRenderer() - Constructor for class nz.org.riskscape.wizard.i18n.WizardObjectRenderer
 
WizardPlugin - Class in nz.org.riskscape.wizard
 
WizardPlugin(PluginDescriptor) - Constructor for class nz.org.riskscape.wizard.WizardPlugin
 
WizardProblems - Interface in nz.org.riskscape.wizard
 
WizardProcessor - Class in nz.org.riskscape.wizard
Drives the survey process in an asynchronous and mutable way so that it can be reused in various contexts and hiding most of the details of how the questions in the survey are turned in to a pipeline.
WizardProcessor(ExecutionContext, Survey) - Constructor for class nz.org.riskscape.wizard.WizardProcessor
Construct a new empty processor for the given survey
A B C D E F G H I J L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form