Class PlatformCreateHumanTaskInterceptor

All Implemented Interfaces:
org.flowable.cmmn.engine.interceptor.CreateHumanTaskInterceptor, Aware, ApplicationContextAware

public class PlatformCreateHumanTaskInterceptor extends BasePlatformCmmnInterceptor implements org.flowable.cmmn.engine.interceptor.CreateHumanTaskInterceptor, ApplicationContextAware
  • Field Details

    • enableSlaAuditInstance

      protected boolean enableSlaAuditInstance
    • enableSlaAuditInstanceToElastic

      protected boolean enableSlaAuditInstanceToElastic
    • applicationContext

      protected ApplicationContext applicationContext
  • Constructor Details

    • PlatformCreateHumanTaskInterceptor

      public PlatformCreateHumanTaskInterceptor(String defaultSecurityPolicyKey, boolean enableSlaAuditInstance, boolean enableSlaAuditInstanceToElastic)
  • Method Details

    • beforeCreateHumanTask

      public void beforeCreateHumanTask(org.flowable.cmmn.engine.interceptor.CreateHumanTaskBeforeContext context)
      Specified by:
      beforeCreateHumanTask in interface org.flowable.cmmn.engine.interceptor.CreateHumanTaskInterceptor
    • afterCreateHumanTask

      public void afterCreateHumanTask(org.flowable.cmmn.engine.interceptor.CreateHumanTaskAfterContext context)
      Specified by:
      afterCreateHumanTask in interface org.flowable.cmmn.engine.interceptor.CreateHumanTaskInterceptor
    • handleSlaConfig

      protected void handleSlaConfig(org.flowable.task.service.impl.persistence.entity.TaskEntity taskEntity)
    • getActionEngineConfiguration

      protected ActionEngineConfiguration getActionEngineConfiguration(org.flowable.cmmn.engine.CmmnEngineConfiguration cmmnEngineConfiguration)
    • setApplicationContext

      public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
      Specified by:
      setApplicationContext in interface ApplicationContextAware
      Throws:
      BeansException