Class CmmnLoggingSessionUtil


  • public class CmmnLoggingSessionUtil
    extends Object
    • Constructor Detail

      • CmmnLoggingSessionUtil

        public CmmnLoggingSessionUtil()
    • Method Detail

      • addLoggingData

        public static void addLoggingData​(String type,
                                          String message,
                                          CaseInstanceEntity caseInstanceEntity,
                                          com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • addLoggingData

        public static void addLoggingData​(String type,
                                          String message,
                                          PlanItemInstanceEntity planItemInstanceEntity,
                                          com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • addExecuteActivityBehaviorLoggingData

        public static void addExecuteActivityBehaviorLoggingData​(String type,
                                                                 PlanItemActivityBehavior activityBehavior,
                                                                 org.flowable.cmmn.model.PlanItemDefinition planItemDefinition,
                                                                 PlanItemInstanceEntity planItemInstanceEntity,
                                                                 com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • addAsyncActivityLoggingData

        public static void addAsyncActivityLoggingData​(String message,
                                                       String type,
                                                       JobEntity jobEntity,
                                                       org.flowable.cmmn.model.PlanItemDefinition planItemDefinition,
                                                       PlanItemInstanceEntity planItemInstanceEntity,
                                                       com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • fillBasicTaskLoggingData

        public static com.fasterxml.jackson.databind.node.ObjectNode fillBasicTaskLoggingData​(String message,
                                                                                              TaskEntity task,
                                                                                              PlanItemInstanceEntity planItemInstanceEntity,
                                                                                              com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • addEvaluateSentryLoggingData

        public static void addEvaluateSentryLoggingData​(List<org.flowable.cmmn.model.SentryOnPart> sentryOnParts,
                                                        org.flowable.cmmn.model.SentryIfPart sentryIfPart,
                                                        EntityWithSentryPartInstances instance,
                                                        com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • addEvaluateSentryLoggingData

        public static void addEvaluateSentryLoggingData​(List<org.flowable.cmmn.model.SentryOnPart> sentryOnParts,
                                                        EntityWithSentryPartInstances instance,
                                                        com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • addEvaluateSentryLoggingData

        public static void addEvaluateSentryLoggingData​(org.flowable.cmmn.model.SentryIfPart sentryIfPart,
                                                        EntityWithSentryPartInstances instance,
                                                        com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • addEvaluateSentryFailedLoggingData

        public static void addEvaluateSentryFailedLoggingData​(org.flowable.cmmn.model.SentryIfPart sentryIfPart,
                                                              RuntimeException e,
                                                              EntityWithSentryPartInstances instance,
                                                              com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • addErrorLoggingData

        public static void addErrorLoggingData​(String type,
                                               String message,
                                               Throwable t,
                                               PlanItemInstanceEntity planItemInstanceEntity,
                                               com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • fillLoggingData

        public static void fillLoggingData​(com.fasterxml.jackson.databind.node.ObjectNode loggingNode,
                                           PlanItemInstanceEntity planItemInstanceEntity)
      • fillLoggingData

        public static void fillLoggingData​(com.fasterxml.jackson.databind.node.ObjectNode loggingNode,
                                           CaseInstanceEntity caseInstanceEntity)
      • addTaskIdentityLinkData

        public static void addTaskIdentityLinkData​(String type,
                                                   String message,
                                                   boolean isUser,
                                                   List<org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntity> identityLinkEntities,
                                                   TaskEntity task,
                                                   PlanItemInstanceEntity planItemInstanceEntity,
                                                   com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • getActivitySubType

        protected static String getActivitySubType​(org.flowable.cmmn.model.PlanItemDefinition planItemDefinition)
      • fillScopeDefinitionInfo

        protected static void fillScopeDefinitionInfo​(String caseDefinitionId,
                                                      com.fasterxml.jackson.databind.node.ObjectNode loggingNode)
      • fillPlanItemInstanceInfo

        protected static com.fasterxml.jackson.databind.node.ObjectNode fillPlanItemInstanceInfo​(String message,
                                                                                                 PlanItemInstanceEntity planItemInstanceEntity,
                                                                                                 com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • fillEvaluateSentryInstanceEntity

        protected static com.fasterxml.jackson.databind.node.ObjectNode fillEvaluateSentryInstanceEntity​(EntityWithSentryPartInstances instance,
                                                                                                         com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • fillPlanItemDefinitionInfo

        protected static void fillPlanItemDefinitionInfo​(com.fasterxml.jackson.databind.node.ObjectNode loggingNode,
                                                         PlanItemInstanceEntity planItemInstanceEntity)
      • putIfNotNull

        protected static void putIfNotNull​(String name,
                                           String value,
                                           com.fasterxml.jackson.databind.node.ObjectNode loggingNode)
      • putIfNotNull

        protected static void putIfNotNull​(String name,
                                           Integer value,
                                           com.fasterxml.jackson.databind.node.ObjectNode loggingNode)
      • putIfNotNull

        protected static void putIfNotNull​(String name,
                                           Date value,
                                           com.fasterxml.jackson.databind.node.ObjectNode loggingNode)