Class IntentEvaluationTriggerUtil
java.lang.Object
com.flowable.agent.engine.impl.cmmn.IntentEvaluationTriggerUtil
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<org.flowable.cmmn.engine.impl.persistence.entity.PlanItemInstanceEntity> getIntentEventListenerPlanItemInstances(org.flowable.cmmn.engine.CmmnEngineConfiguration cmmnEngineConfiguration, String caseInstanceId) protected static voidtriggerIntentEvaluation(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, String caseInstanceId, Supplier<IntentEvaluationTrigger> triggerSupplier) static voidtriggerIntentEvaluationForNewChatMessage(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, String agentInstanceId, String caseInstanceId, String userId, String chatMessage, String invocationId, com.fasterxml.jackson.databind.node.ObjectNode serializedChatOperationContext) static voidtriggerIntentEvaluationForNewContentItem(String agentInstanceId, String caseInstanceId, String userId, String contentItemId, String contentItemName, String contentModelType) static voidtriggerIntentEvaluationForNewContentItem(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, String agentInstanceId, String caseInstanceId, String userId, String contentItemId, String contentItemName, String contentModelType) static voidtriggerIntentEvaluationProgrammatically(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, String agentInstanceId, String caseInstanceId, String intentMetadata) static voidtriggerWithExistingIntentEvaluation(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, IntentEvaluationTrigger existingIntentEvaluationTrigger)
-
Field Details
-
INTENT_PLAN_ITEM_TYPE_LIST
-
INTENT_PLAN_ITEM_STATE_LIST
-
-
Constructor Details
-
IntentEvaluationTriggerUtil
public IntentEvaluationTriggerUtil()
-
-
Method Details
-
getIntentEventListenerPlanItemInstances
-
triggerIntentEvaluationForNewChatMessage
public static void triggerIntentEvaluationForNewChatMessage(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, String agentInstanceId, String caseInstanceId, String userId, String chatMessage, String invocationId, com.fasterxml.jackson.databind.node.ObjectNode serializedChatOperationContext) -
triggerIntentEvaluationForNewContentItem
-
triggerIntentEvaluationForNewContentItem
-
triggerIntentEvaluationProgrammatically
-
triggerWithExistingIntentEvaluation
public static void triggerWithExistingIntentEvaluation(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, IntentEvaluationTrigger existingIntentEvaluationTrigger) -
triggerIntentEvaluation
protected static void triggerIntentEvaluation(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, String caseInstanceId, Supplier<IntentEvaluationTrigger> triggerSupplier)
-