|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.camunda.bpm.engine.impl.incident.FailedJobIncidentHandler
public class FailedJobIncidentHandler
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).
IncidentHandler| Field Summary | |
|---|---|
static String |
INCIDENT_HANDLER_TYPE
|
| Constructor Summary | |
|---|---|
FailedJobIncidentHandler()
|
|
| Method Summary | |
|---|---|
Incident |
createIncident(String processDefinitionId,
String activityId,
String executionId,
String jobId,
String message)
|
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 jobId,
String message)
Handle an incident that arose in the context of an execution. |
protected void |
removeIncident(String processDefinitionId,
String activityId,
String executionId,
String configuration,
boolean incidentResolved)
|
void |
resolveIncident(String processDefinitionId,
String activityId,
String executionId,
String configuration)
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 |
|---|
public static final String INCIDENT_HANDLER_TYPE
| Constructor Detail |
|---|
public FailedJobIncidentHandler()
| Method Detail |
|---|
public String getIncidentHandlerType()
IncidentHandler
getIncidentHandlerType in interface IncidentHandler
public void handleIncident(String processDefinitionId,
String activityId,
String executionId,
String jobId,
String message)
IncidentHandler
handleIncident in interface IncidentHandler
public Incident createIncident(String processDefinitionId,
String activityId,
String executionId,
String jobId,
String message)
public void resolveIncident(String processDefinitionId,
String activityId,
String executionId,
String configuration)
IncidentHandler
resolveIncident in interface IncidentHandler
public void deleteIncident(String processDefinitionId,
String activityId,
String executionId,
String configuration)
IncidentHandler
deleteIncident in interface IncidentHandler
protected void removeIncident(String processDefinitionId,
String activityId,
String executionId,
String configuration,
boolean incidentResolved)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||