Package org.openapitools.client.model
Class IncidentDto
- java.lang.Object
-
- org.openapitools.client.model.IncidentDto
-
public class IncidentDto extends Object
IncidentDto
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ACTIVITY_IDstatic StringSERIALIZED_NAME_ANNOTATIONstatic StringSERIALIZED_NAME_CAUSE_INCIDENT_IDstatic StringSERIALIZED_NAME_CONFIGURATIONstatic StringSERIALIZED_NAME_EXECUTION_IDstatic StringSERIALIZED_NAME_FAILED_ACTIVITY_IDstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_INCIDENT_MESSAGEstatic StringSERIALIZED_NAME_INCIDENT_TIMESTAMPstatic StringSERIALIZED_NAME_INCIDENT_TYPEstatic StringSERIALIZED_NAME_JOB_DEFINITION_IDstatic StringSERIALIZED_NAME_PROCESS_DEFINITION_IDstatic StringSERIALIZED_NAME_PROCESS_INSTANCE_IDstatic StringSERIALIZED_NAME_ROOT_CAUSE_INCIDENT_IDstatic StringSERIALIZED_NAME_TENANT_ID
-
Constructor Summary
Constructors Constructor Description IncidentDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IncidentDto_configuration(String _configuration)IncidentDtoactivityId(String activityId)IncidentDtoannotation(String annotation)IncidentDtocauseIncidentId(String causeIncidentId)booleanequals(Object o)IncidentDtoexecutionId(String executionId)IncidentDtofailedActivityId(String failedActivityId)StringgetActivityId()The id of the activity this incident is associated with.StringgetAnnotation()The annotation set to the incident.StringgetCauseIncidentId()The id of the associated cause incident which has been triggered.StringgetConfiguration()The payload of this incident.StringgetExecutionId()The id of the execution this incident is associated with.StringgetFailedActivityId()The id of the activity on which the last exception occurred.StringgetId()The id of the incident.StringgetIncidentMessage()The message of this incident.DategetIncidentTimestamp()The time this incident happened.StringgetIncidentType()The type of incident, for example: `failedJobs` will be returned in case of an incident which identified a failed job during the execution of a process instance.StringgetJobDefinitionId()The job definition id the incident is associated with.StringgetProcessDefinitionId()The id of the process definition this incident is associated with.StringgetProcessInstanceId()The id of the process instance this incident is associated with.StringgetRootCauseIncidentId()The id of the associated root cause incident which has been triggered.StringgetTenantId()The id of the tenant this incident is associated with.inthashCode()IncidentDtoid(String id)IncidentDtoincidentMessage(String incidentMessage)IncidentDtoincidentTimestamp(Date incidentTimestamp)IncidentDtoincidentType(String incidentType)IncidentDtojobDefinitionId(String jobDefinitionId)IncidentDtoprocessDefinitionId(String processDefinitionId)IncidentDtoprocessInstanceId(String processInstanceId)IncidentDtorootCauseIncidentId(String rootCauseIncidentId)voidsetActivityId(String activityId)voidsetAnnotation(String annotation)voidsetCauseIncidentId(String causeIncidentId)voidsetConfiguration(String _configuration)voidsetExecutionId(String executionId)voidsetFailedActivityId(String failedActivityId)voidsetId(String id)voidsetIncidentMessage(String incidentMessage)voidsetIncidentTimestamp(Date incidentTimestamp)voidsetIncidentType(String incidentType)voidsetJobDefinitionId(String jobDefinitionId)voidsetProcessDefinitionId(String processDefinitionId)voidsetProcessInstanceId(String processInstanceId)voidsetRootCauseIncidentId(String rootCauseIncidentId)voidsetTenantId(String tenantId)IncidentDtotenantId(String tenantId)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_DEFINITION_ID
public static final String SERIALIZED_NAME_PROCESS_DEFINITION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_INSTANCE_ID
public static final String SERIALIZED_NAME_PROCESS_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXECUTION_ID
public static final String SERIALIZED_NAME_EXECUTION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INCIDENT_TIMESTAMP
public static final String SERIALIZED_NAME_INCIDENT_TIMESTAMP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INCIDENT_TYPE
public static final String SERIALIZED_NAME_INCIDENT_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACTIVITY_ID
public static final String SERIALIZED_NAME_ACTIVITY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FAILED_ACTIVITY_ID
public static final String SERIALIZED_NAME_FAILED_ACTIVITY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CAUSE_INCIDENT_ID
public static final String SERIALIZED_NAME_CAUSE_INCIDENT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ROOT_CAUSE_INCIDENT_ID
public static final String SERIALIZED_NAME_ROOT_CAUSE_INCIDENT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONFIGURATION
public static final String SERIALIZED_NAME_CONFIGURATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TENANT_ID
public static final String SERIALIZED_NAME_TENANT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INCIDENT_MESSAGE
public static final String SERIALIZED_NAME_INCIDENT_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_JOB_DEFINITION_ID
public static final String SERIALIZED_NAME_JOB_DEFINITION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ANNOTATION
public static final String SERIALIZED_NAME_ANNOTATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public IncidentDto id(String id)
-
getId
public String getId()
The id of the incident.- Returns:
- id
-
setId
public void setId(String id)
-
processDefinitionId
public IncidentDto processDefinitionId(String processDefinitionId)
-
getProcessDefinitionId
public String getProcessDefinitionId()
The id of the process definition this incident is associated with.- Returns:
- processDefinitionId
-
setProcessDefinitionId
public void setProcessDefinitionId(String processDefinitionId)
-
processInstanceId
public IncidentDto processInstanceId(String processInstanceId)
-
getProcessInstanceId
public String getProcessInstanceId()
The id of the process instance this incident is associated with.- Returns:
- processInstanceId
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
-
executionId
public IncidentDto executionId(String executionId)
-
getExecutionId
public String getExecutionId()
The id of the execution this incident is associated with.- Returns:
- executionId
-
setExecutionId
public void setExecutionId(String executionId)
-
incidentTimestamp
public IncidentDto incidentTimestamp(Date incidentTimestamp)
-
getIncidentTimestamp
public Date getIncidentTimestamp()
The time this incident happened. By [default](https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`.- Returns:
- incidentTimestamp
-
setIncidentTimestamp
public void setIncidentTimestamp(Date incidentTimestamp)
-
incidentType
public IncidentDto incidentType(String incidentType)
-
getIncidentType
public String getIncidentType()
The type of incident, for example: `failedJobs` will be returned in case of an incident which identified a failed job during the execution of a process instance. See the [User Guide](https://docs.camunda.org/manual/7.18/user-guide/process-engine/incidents/#incident-types) for a list of incident types.- Returns:
- incidentType
-
setIncidentType
public void setIncidentType(String incidentType)
-
activityId
public IncidentDto activityId(String activityId)
-
getActivityId
public String getActivityId()
The id of the activity this incident is associated with.- Returns:
- activityId
-
setActivityId
public void setActivityId(String activityId)
-
failedActivityId
public IncidentDto failedActivityId(String failedActivityId)
-
getFailedActivityId
public String getFailedActivityId()
The id of the activity on which the last exception occurred.- Returns:
- failedActivityId
-
setFailedActivityId
public void setFailedActivityId(String failedActivityId)
-
causeIncidentId
public IncidentDto causeIncidentId(String causeIncidentId)
-
getCauseIncidentId
public String getCauseIncidentId()
The id of the associated cause incident which has been triggered.- Returns:
- causeIncidentId
-
setCauseIncidentId
public void setCauseIncidentId(String causeIncidentId)
-
rootCauseIncidentId
public IncidentDto rootCauseIncidentId(String rootCauseIncidentId)
-
getRootCauseIncidentId
public String getRootCauseIncidentId()
The id of the associated root cause incident which has been triggered.- Returns:
- rootCauseIncidentId
-
setRootCauseIncidentId
public void setRootCauseIncidentId(String rootCauseIncidentId)
-
_configuration
public IncidentDto _configuration(String _configuration)
-
getConfiguration
public String getConfiguration()
The payload of this incident.- Returns:
- _configuration
-
setConfiguration
public void setConfiguration(String _configuration)
-
tenantId
public IncidentDto tenantId(String tenantId)
-
getTenantId
public String getTenantId()
The id of the tenant this incident is associated with.- Returns:
- tenantId
-
setTenantId
public void setTenantId(String tenantId)
-
incidentMessage
public IncidentDto incidentMessage(String incidentMessage)
-
getIncidentMessage
public String getIncidentMessage()
The message of this incident.- Returns:
- incidentMessage
-
setIncidentMessage
public void setIncidentMessage(String incidentMessage)
-
jobDefinitionId
public IncidentDto jobDefinitionId(String jobDefinitionId)
-
getJobDefinitionId
public String getJobDefinitionId()
The job definition id the incident is associated with.- Returns:
- jobDefinitionId
-
setJobDefinitionId
public void setJobDefinitionId(String jobDefinitionId)
-
annotation
public IncidentDto annotation(String annotation)
-
getAnnotation
public String getAnnotation()
The annotation set to the incident.- Returns:
- annotation
-
setAnnotation
public void setAnnotation(String annotation)
-
-