Package akka.javasdk.evaluation
Interface EvaluationContext
public interface EvaluationContext
-
Method Summary
Modifier and TypeMethodDescriptioncom.typesafe.config.Configconfig()The configuration of the evaluator for this evaluation, from its entry underakka.javasdk.evaluation.evaluators: the binding that the runtime used for the evaluated agent, with the evaluator entry as fallback, key by key.The unique id of this evaluation.subject()The interaction being evaluated.
-
Method Details
-
subject
Subject subject()The interaction being evaluated.- Returns:
- the subject of this evaluation
-
evaluationId
String evaluationId()The unique id of this evaluation.- Returns:
- the evaluation id
-
config
com.typesafe.config.Config config()The configuration of the evaluator for this evaluation, from its entry underakka.javasdk.evaluation.evaluators: the binding that the runtime used for the evaluated agent, with the evaluator entry as fallback, key by key. For an agent without an enabled binding, the evaluator entry alone. The keysagentsandagent-rolesare left out. The other keys the SDK reads, such astriggerandenabled, are present when the entries set them. The defaults underakka.javasdk.evaluation.defaultsare not included. Empty when the evaluator has no entry.- Returns:
- the configuration of the binding with the evaluator entry as fallback
-