|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IncidentHandler
The 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
Method Summary | |
---|---|
void |
deleteIncident(IncidentContext context)
Called in situations in which an incidenthandler may wich to delete existing incidents Example: when a scope is ended or a job is deleted. |
String |
getIncidentHandlerType()
Returns the incident type this handler activates for. |
void |
handleIncident(IncidentContext context,
String message)
Handle an incident that arose in the context of an execution. |
void |
resolveIncident(IncidentContext context)
Called in situations in which an incidenthandler may wich to resolve existing incidents The implementation receives this callback to enable it to resolve any open incidents that may exist. |
Method Detail |
---|
String getIncidentHandlerType()
void handleIncident(IncidentContext context, String message)
void resolveIncident(IncidentContext context)
void deleteIncident(IncidentContext context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |