public class FailedJobIncidentHandler extends Object implements IncidentHandler
failedJob
as instances of Incident to the engine database.
This incident handler is active by default and must be disabled
via ProcessEngineConfiguration.setCreateIncidentOnFailedJobEnabled(boolean).
IncidentHandler| Modifier and Type | Field and Description |
|---|---|
static String |
INCIDENT_HANDLER_TYPE |
| Constructor and Description |
|---|
FailedJobIncidentHandler() |
| Modifier and Type | Method and Description |
|---|---|
String |
getIncidentHandlerType()
Returns the incident type this handler activates for.
|
void |
handleIncident(String processDefinitionId,
String activityId,
String executionId,
String jobId,
String message)
Handle an incident that arose in the context of an execution.
|
void |
resolveIncident(String processDefinitionId,
String activityId,
String executionId,
String jobId)
Resolve an incident that arose in the context of an execution.
|
public static final String INCIDENT_HANDLER_TYPE
public String getIncidentHandlerType()
IncidentHandlergetIncidentHandlerType in interface IncidentHandlerpublic void handleIncident(String processDefinitionId, String activityId, String executionId, String jobId, String message)
IncidentHandlerhandleIncident in interface IncidentHandlerpublic void resolveIncident(String processDefinitionId, String activityId, String executionId, String jobId)
IncidentHandlerresolveIncident in interface IncidentHandlerCopyright © 2015. All rights reserved.