Uses of Class
berlin.yuna.survey.model.ContextExchange
-
Packages that use ContextExchange Package Description berlin.yuna.survey.model berlin.yuna.survey.model.types -
-
Uses of ContextExchange in berlin.yuna.survey.model
Methods in berlin.yuna.survey.model that return ContextExchange Modifier and Type Method Description ContextExchange
ContextExchange. context(Object context)
static ContextExchange
ContextExchange. contextOf(Survey survey, Object payload, Object context)
static ContextExchange
ContextExchange. contextOf(Survey survey, Object payload, Object context, FlowItem<?,?> target)
static ContextExchange
ContextExchange. contextOf(Object payload)
ContextExchange
ContextExchange. put(String key, Object value)
ContextExchange
ContextExchange. survey(Survey survey)
ContextExchange
ContextExchange. target(FlowItem<?,?> target)
-
Uses of ContextExchange in berlin.yuna.survey.model.types
Methods in berlin.yuna.survey.model.types with parameters of type ContextExchange Modifier and Type Method Description abstract Optional<T>
FlowItem. parse(ContextExchange context)
(Optional) Input converter to handle the answer - used to solveFlowItem.parseAndApply(ContextExchange, Function)
Optional<String>
Question. parse(ContextExchange exchange)
Optional<Boolean>
QuestionBool. parse(ContextExchange exchange)
Optional<Integer>
QuestionInt. parse(ContextExchange exchange)
Optional<Collection<String>>
QuestionList. parse(ContextExchange exchange)
Optional<Long>
QuestionLong. parse(ContextExchange exchange)
Optional<FlowItem<?,?>>
FlowItem. parseAndAnswer(ContextExchange context)
Returns nextFlowItem
which is configured for a back transitionprotected <R> Optional<R>
FlowItem. parseAndApply(ContextExchange context, Function<T,Optional<R>> function)
Returns nextFlowItem
which is configured for a back transitionOptional<Boolean>
FlowItem. parseAndRevert(ContextExchange context)
Reverts configured actions for a back transitions
-