Class PlatformHumanTaskStateInterceptor
java.lang.Object
com.flowable.platform.service.task.PlatformHumanTaskStateInterceptor
- All Implemented Interfaces:
HumanTaskStateInterceptor
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
-
Constructor Summary
ConstructorDescriptionPlatformHumanTaskStateInterceptor
(boolean enableSlaAuditInstance, boolean enableSlaAuditInstanceToElastic) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected LocalDateTime
convertToLocalDateTime
(Date date) createJobStepMap
(List<Job> timerJobs, com.fasterxml.jackson.databind.ObjectMapper objectMapper) protected PlatformRuntimeService
protected String
void
handleClaim
(TaskEntity task, String userId) void
handleComplete
(TaskEntity task, String userId) void
handleCompleteWithForm
(TaskEntity task, FormInfo formInfo, String userId, String outcome, Map<String, Object> payload) void
handleInProgressStart
(TaskEntity task, String userId) void
handleUnclaim
(TaskEntity task, String userId) protected void
updateSlaAuditInstanceForClaim
(TaskEntity task, String userId) protected void
updateSlaAuditInstanceForComplete
(TaskEntity task, String userId) protected void
updateSlaAuditInstanceForInProgressStart
(TaskEntity task, String userId) protected void
protected void
updateSlaAuditInstanceWithBuilder
(String slaAuditInstanceId, String tenantId, UpdateSlaAuditInstanceBuilder slaAuditInstanceBuilder, com.fasterxml.jackson.databind.ObjectMapper objectMapper, JobServiceConfiguration jobServiceConfiguration)
-
Field Details
-
enableSlaAuditInstance
protected boolean enableSlaAuditInstance -
enableSlaAuditInstanceToElastic
protected boolean enableSlaAuditInstanceToElastic
-
-
Constructor Details
-
PlatformHumanTaskStateInterceptor
public PlatformHumanTaskStateInterceptor(boolean enableSlaAuditInstance, boolean enableSlaAuditInstanceToElastic)
-
-
Method Details
-
handleInProgressStart
- Specified by:
handleInProgressStart
in interfaceHumanTaskStateInterceptor
-
handleClaim
- Specified by:
handleClaim
in interfaceHumanTaskStateInterceptor
-
handleUnclaim
- Specified by:
handleUnclaim
in interfaceHumanTaskStateInterceptor
-
handleComplete
- Specified by:
handleComplete
in interfaceHumanTaskStateInterceptor
-
handleCompleteWithForm
public void handleCompleteWithForm(TaskEntity task, FormInfo formInfo, String userId, String outcome, Map<String, Object> payload) - Specified by:
handleCompleteWithForm
in interfaceHumanTaskStateInterceptor
-
cleanupInProgressStartTimers
-
cleanupCompletionTimers
-
updateSlaAuditInstanceForInProgressStart
-
updateSlaAuditInstanceForClaim
-
updateSlaAuditInstanceForUnclaim
-
updateSlaAuditInstanceForComplete
-
updateSlaAuditInstanceWithBuilder
protected void updateSlaAuditInstanceWithBuilder(String slaAuditInstanceId, String tenantId, UpdateSlaAuditInstanceBuilder slaAuditInstanceBuilder, com.fasterxml.jackson.databind.ObjectMapper objectMapper, JobServiceConfiguration jobServiceConfiguration) -
createJobStepMap
-
getSlaAuditInstanceId
-
convertToLocalDateTime
-
getPlatformRuntimeService
-