public interface IncidentHandler
IncidentHandler
interface may be implemented by components
that handle and resolve incidents of a specific type that occur during the
execution of a process instance.
Custom implementations of this interface may be wired through
ProcessEngineConfigurationImpl.setCustomIncidentHandlers(java.util.List)
.
FailedJobIncidentHandler
,
Incident
Modifier and Type | Method and Description |
---|---|
void |
deleteIncident(String processDefinitionId,
String activityId,
String executionId,
String configuration)
Delete an incident that arose in the context of an execution.
|
String |
getIncidentHandlerType()
Returns the incident type this handler activates for.
|
void |
handleIncident(String processDefinitionId,
String activityId,
String executionId,
String configuration,
String message)
Handle an incident that arose in the context of an execution.
|
void |
resolveIncident(String processDefinitionId,
String activityId,
String executionId,
String configuration)
Resolve an incident that arose in the context of an execution.
|
String getIncidentHandlerType()
void handleIncident(String processDefinitionId, String activityId, String executionId, String configuration, String message)
void resolveIncident(String processDefinitionId, String activityId, String executionId, String configuration)
Copyright © 2015. All rights reserved.