Package org.camunda.bpm.engine.history
Interface HistoricIncident
-
- All Known Implementing Classes:
HistoricIncidentEntity
public interface HistoricIncidentRepresents a historicincidentthat is stored permanently.- Author:
- Roman Smirnov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetActivityId()Returns the id of the activity of the process instance on which this incident has happened.java.lang.StringgetAnnotation()Returns the annotation of this incidentjava.lang.StringgetCauseIncidentId()Returns the id of the incident on which this incident has been triggered.java.lang.StringgetConfiguration()Returns the payload of this incident.java.util.DategetCreateTime()Time when the incident happened.java.util.DategetEndTime()Time when the incident has been resolved or deleted.java.lang.StringgetExecutionId()Returns the specific execution on which this incident has happened.java.lang.StringgetFailedActivityId()Returns the id of the activity on which the last exception occurred.java.lang.StringgetHistoryConfiguration()Returns the history payload of this incident.java.lang.StringgetId()Returns the unique identifier for this incident.java.lang.StringgetIncidentMessage()Returns the incident message.java.lang.StringgetIncidentType()Returns the type of this incident to identify the kind of incident.java.lang.StringgetJobDefinitionId()Returns the id of the job definition the incident belongs to.java.lang.StringgetProcessDefinitionId()Returns the id of the process definition of this process instance on which the incident has happened.java.lang.StringgetProcessDefinitionKey()Returns the key of the process definition of this process instance on which the incident has happened.java.lang.StringgetProcessInstanceId()Returns the specific process instance on which this incident has happened.java.util.DategetRemovalTime()The time the historic incident will be removed.java.lang.StringgetRootCauseIncidentId()Returns the id of the root incident on which this transitive incident has been triggered.java.lang.StringgetRootProcessInstanceId()Returns the specific root process instance id of the process instance on which this incident has happened.java.lang.StringgetTenantId()Returns the id of the tenant this incident belongs to.booleanisDeleted()Returnstrue, iff the corresponding incident has been deleted.booleanisOpen()Returnstrue, iff the corresponding incident has not been deleted or resolved.booleanisResolved()Returnstrue, iff the corresponding incident has been resolved.
-
-
-
Method Detail
-
getId
java.lang.String getId()
Returns the unique identifier for this incident.
-
getCreateTime
java.util.Date getCreateTime()
Time when the incident happened.
-
getEndTime
java.util.Date getEndTime()
Time when the incident has been resolved or deleted.
-
getIncidentType
java.lang.String getIncidentType()
Returns the type of this incident to identify the kind of incident.For example:
failedJobswill be returned in the case of an incident, which identify failed job during the execution of a process instance.
-
getIncidentMessage
java.lang.String getIncidentMessage()
Returns the incident message.
-
getExecutionId
java.lang.String getExecutionId()
Returns the specific execution on which this incident has happened.
-
getActivityId
java.lang.String getActivityId()
Returns the id of the activity of the process instance on which this incident has happened.
-
getRootProcessInstanceId
java.lang.String getRootProcessInstanceId()
Returns the specific root process instance id of the process instance on which this incident has happened.
-
getProcessInstanceId
java.lang.String getProcessInstanceId()
Returns the specific process instance on which this incident has happened.
-
getProcessDefinitionId
java.lang.String getProcessDefinitionId()
Returns the id of the process definition of this process instance on which the incident has happened.
-
getProcessDefinitionKey
java.lang.String getProcessDefinitionKey()
Returns the key of the process definition of this process instance on which the incident has happened.
-
getCauseIncidentId
java.lang.String getCauseIncidentId()
Returns the id of the incident on which this incident has been triggered.
-
getRootCauseIncidentId
java.lang.String getRootCauseIncidentId()
Returns the id of the root incident on which this transitive incident has been triggered.
-
getConfiguration
java.lang.String getConfiguration()
Returns the payload of this incident.
-
getHistoryConfiguration
java.lang.String getHistoryConfiguration()
Returns the history payload of this incident.
-
isOpen
boolean isOpen()
Returnstrue, iff the corresponding incident has not been deleted or resolved.
-
isDeleted
boolean isDeleted()
Returnstrue, iff the corresponding incident has been deleted.
-
isResolved
boolean isResolved()
Returnstrue, iff the corresponding incident has been resolved.
-
getTenantId
java.lang.String getTenantId()
Returns the id of the tenant this incident belongs to. Can benullif the incident belongs to no single tenant.
-
getJobDefinitionId
java.lang.String getJobDefinitionId()
Returns the id of the job definition the incident belongs to. Can benullif the incident belongs to no job definition.
-
getRemovalTime
java.util.Date getRemovalTime()
The time the historic incident will be removed.
-
getFailedActivityId
java.lang.String getFailedActivityId()
Returns the id of the activity on which the last exception occurred.
-
getAnnotation
java.lang.String getAnnotation()
Returns the annotation of this incident
-
-