org.camunda.bpm.engine.impl.incident
Class FailedJobIncidentHandler
java.lang.Object
org.camunda.bpm.engine.impl.incident.FailedJobIncidentHandler
- All Implemented Interfaces:
- IncidentHandler
public class FailedJobIncidentHandler
- extends Object
- implements IncidentHandler
A incident handler that logs incidents of type failedJob
as instances of Incident to the engine database.
This incident handler is active by default and must be disabled
via ProcessEngineConfiguration.setCreateIncidentOnFailedJobEnabled(boolean).
- Author:
- nico.rehwaldt, roman.smirnow
- See Also:
IncidentHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INCIDENT_HANDLER_TYPE
public static final String INCIDENT_HANDLER_TYPE
- See Also:
- Constant Field Values
FailedJobIncidentHandler
public FailedJobIncidentHandler()
getIncidentHandlerType
public String getIncidentHandlerType()
- Description copied from interface:
IncidentHandler
- Returns the incident type this handler activates for.
- Specified by:
getIncidentHandlerType in interface IncidentHandler
handleIncident
public void handleIncident(String processDefinitionId,
String activityId,
String executionId,
String jobId,
String message)
- Description copied from interface:
IncidentHandler
- Handle an incident that arose in the context of an execution.
- Specified by:
handleIncident in interface IncidentHandler
resolveIncident
public void resolveIncident(String processDefinitionId,
String activityId,
String executionId,
String jobId)
- Description copied from interface:
IncidentHandler
- Resolve an incident that arose in the context of an execution.
- Specified by:
resolveIncident in interface IncidentHandler
Copyright © 2014 camunda services GmbH. All Rights Reserved.