Class EventContentItemClassifierFactory
java.lang.Object
com.flowable.platform.engine.impl.eventregistry.EventContentItemClassifierFactory
Builds
EventContentItemClassifier instances by resolving the referenced document or agent definition
once, so the returned classifier can be invoked for every content item in a branch (e.g. each attachment)
without additional lookups.- Author:
- Felix Roth
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected static EventContentItemClassifiergetAgenticClassifier(String tenantId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext, String reference) static EventContentItemClassifiergetClassifier(tools.jackson.databind.node.ObjectNode classificationSettings, String key, String tenantId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) Returns a classifier for the given branch (emailorattachment) of the classification configuration.protected static EventContentItemClassifiergetExplicitClassifier(String tenantId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext, String reference)
-
Field Details
-
NO_CLASSIFICATION_CLASSIFIER
-
-
Method Details
-
getClassifier
public static EventContentItemClassifier getClassifier(tools.jackson.databind.node.ObjectNode classificationSettings, String key, String tenantId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext) Returns a classifier for the given branch (emailorattachment) of the classification configuration. ReturnsNO_CLASSIFICATION_CLASSIFIERwhen no classification is configured. -
getExplicitClassifier
protected static EventContentItemClassifier getExplicitClassifier(String tenantId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext, String reference) -
getAgenticClassifier
protected static EventContentItemClassifier getAgenticClassifier(String tenantId, org.flowable.common.engine.impl.interceptor.CommandContext commandContext, String reference)
-