org.camunda.bpm.engine.impl.incident
Class FailedJobIncidentHandler

java.lang.Object
  extended by 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

Field Summary
static String INCIDENT_HANDLER_TYPE
           
 
Constructor Summary
FailedJobIncidentHandler()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INCIDENT_HANDLER_TYPE

public static final String INCIDENT_HANDLER_TYPE
See Also:
Constant Field Values
Constructor Detail

FailedJobIncidentHandler

public FailedJobIncidentHandler()
Method Detail

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.