Package berlin.yuna.survey.model.types
Class QuestionList
java.lang.Object
berlin.yuna.survey.model.types.FlowItem<Collection<String>,QuestionList>
berlin.yuna.survey.model.types.QuestionList
- All Implemented Interfaces:
Comparable<FlowItem<?,
?>>
-
Method Summary
Modifier and TypeMethodDescriptionstatic QuestionList
static QuestionList
parse
(ContextExchange exchange) (Optional) Input converter to handle the answer - used to solveFlowItem.parseAndApply(ContextExchange, Function)
Methods inherited from class berlin.yuna.survey.model.types.FlowItem
addParent, answer, compareTo, diagram, equals, find, fromJson, get, get, get, getOrElse, getOrElse, getOrElse, hashCode, label, match, onBack, onBack, onBack, parents, parseAndAnswer, parseAndApply, parseAndRevert, revert, routes, target, target, target, target, targetGet, targetGet, targetGet, targets, targetsBack, toJson, toString, transitions
-
Method Details
-
parse
Description copied from class:FlowItem
(Optional) Input converter to handle the answer - used to solveFlowItem.parseAndApply(ContextExchange, Function)
- Specified by:
parse
in classFlowItem<Collection<String>,
QuestionList> - Parameters:
exchange
- input parameter to be parsed for the condition of a configuredRoute
- Returns:
Optional.empty()
to used the default cast and JSON parserFlowItem.parseAndApply(ContextExchange, Function)
-
of
-
of
-