Package akka.javasdk.decision
Interface Answer
- All Known Implementing Classes:
Answer.Choice,Answer.Predicate,Answer.Score
The answer to one
Question. The type of the answer follows the type of the question. Read
an answer with Decision.answer(Question).
The JSON representation of an answer carries a type tag, so a Decision that a
component stores or returns can be read back.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordThe answer to aQuestion.Choice.static final recordThe answer to aQuestion.Predicate.static final recordThe answer to aQuestion.Score.