Class IncidentFake
- java.lang.Object
-
- org.camunda.bpm.extension.mockito.delegate.IncidentFake
-
- All Implemented Interfaces:
org.camunda.bpm.engine.runtime.Incident
public class IncidentFake extends Object implements org.camunda.bpm.engine.runtime.Incident
-
-
Constructor Summary
Constructors Constructor Description IncidentFake(DelegateExecutionFake execution, String type, String configuration, String message, String jobDefinitionId, String historyConfiguration, String failedActivityId, String annotation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActivityId()StringgetAnnotation()StringgetCauseIncidentId()StringgetConfiguration()StringgetExecutionId()StringgetFailedActivityId()StringgetHistoryConfiguration()StringgetId()StringgetIncidentMessage()DategetIncidentTimestamp()StringgetIncidentType()StringgetJobDefinitionId()StringgetProcessDefinitionId()StringgetProcessInstanceId()StringgetRootCauseIncidentId()StringgetTenantId()StringtoString()
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceorg.camunda.bpm.engine.runtime.Incident
-
getIncidentTimestamp
public Date getIncidentTimestamp()
- Specified by:
getIncidentTimestampin interfaceorg.camunda.bpm.engine.runtime.Incident
-
getIncidentType
public String getIncidentType()
- Specified by:
getIncidentTypein interfaceorg.camunda.bpm.engine.runtime.Incident
-
getIncidentMessage
public String getIncidentMessage()
- Specified by:
getIncidentMessagein interfaceorg.camunda.bpm.engine.runtime.Incident
-
getExecutionId
public String getExecutionId()
- Specified by:
getExecutionIdin interfaceorg.camunda.bpm.engine.runtime.Incident
-
getActivityId
public String getActivityId()
- Specified by:
getActivityIdin interfaceorg.camunda.bpm.engine.runtime.Incident
-
getFailedActivityId
public String getFailedActivityId()
- Specified by:
getFailedActivityIdin interfaceorg.camunda.bpm.engine.runtime.Incident
-
getProcessInstanceId
public String getProcessInstanceId()
- Specified by:
getProcessInstanceIdin interfaceorg.camunda.bpm.engine.runtime.Incident
-
getProcessDefinitionId
public String getProcessDefinitionId()
- Specified by:
getProcessDefinitionIdin interfaceorg.camunda.bpm.engine.runtime.Incident
-
getCauseIncidentId
public String getCauseIncidentId()
- Specified by:
getCauseIncidentIdin interfaceorg.camunda.bpm.engine.runtime.Incident
-
getRootCauseIncidentId
public String getRootCauseIncidentId()
- Specified by:
getRootCauseIncidentIdin interfaceorg.camunda.bpm.engine.runtime.Incident
-
getConfiguration
public String getConfiguration()
- Specified by:
getConfigurationin interfaceorg.camunda.bpm.engine.runtime.Incident
-
getTenantId
public String getTenantId()
- Specified by:
getTenantIdin interfaceorg.camunda.bpm.engine.runtime.Incident
-
getJobDefinitionId
public String getJobDefinitionId()
- Specified by:
getJobDefinitionIdin interfaceorg.camunda.bpm.engine.runtime.Incident
-
getHistoryConfiguration
public String getHistoryConfiguration()
- Specified by:
getHistoryConfigurationin interfaceorg.camunda.bpm.engine.runtime.Incident
-
getAnnotation
public String getAnnotation()
- Specified by:
getAnnotationin interfaceorg.camunda.bpm.engine.runtime.Incident
-
-