Class EventContentItemClassifierFactory

java.lang.Object
com.flowable.platform.engine.impl.eventregistry.EventContentItemClassifierFactory

public class EventContentItemClassifierFactory extends Object
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 Details

  • 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 (email or attachment) of the classification configuration. Returns NO_CLASSIFICATION_CLASSIFIER when 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)