Package akka.javasdk.decision
Class PredicateBuilder
Object
akka.javasdk.decision.PredicateBuilder
Builder for predicate questions. Start with
Question.predicate(String). Optionally
describe what counts as true and what counts as false, then build the question.-
Method Summary
Modifier and TypeMethodDescriptionBuild the question with the given key.Describe what counts as false.Describe what counts as true.
-
Method Details
-
whenTrue
Describe what counts as true. -
whenFalse
Describe what counts as false. -
build
Build the question with the given key. The key identifies the question and its answer, so it must be the same everywhere the question is built, also across restarts and services.
-