Package io.camunda.service.entities
Record Class IncidentEntity
java.lang.Object
java.lang.Record
io.camunda.service.entities.IncidentEntity
public record IncidentEntity(Long key, Long processDefinitionKey, String bpmnProcessId, Long processInstanceKey, IncidentEntity.ErrorType errorType, String errorMessage, String flowNodeId, Long flowNodeInstanceKey, String creationTime, IncidentEntity.IncidentState state, Long jobKey, String treePath, String tenantId)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionIncidentEntity(Long key, Long processDefinitionKey, String bpmnProcessId, Long processInstanceKey, IncidentEntity.ErrorType errorType, String errorMessage, String flowNodeId, Long flowNodeInstanceKey, String creationTime, IncidentEntity.IncidentState state, Long jobKey, String treePath, String tenantId) Creates an instance of aIncidentEntityrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebpmnProcessIdrecord component.Returns the value of thecreationTimerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorMessagerecord component.Returns the value of theerrorTyperecord component.Returns the value of theflowNodeIdrecord component.Returns the value of theflowNodeInstanceKeyrecord component.final inthashCode()Returns a hash code value for this object.jobKey()Returns the value of thejobKeyrecord component.key()Returns the value of thekeyrecord component.Returns the value of theprocessDefinitionKeyrecord component.Returns the value of theprocessInstanceKeyrecord component.state()Returns the value of thestaterecord component.tenantId()Returns the value of thetenantIdrecord component.final StringtoString()Returns a string representation of this record class.treePath()Returns the value of thetreePathrecord component.
-
Constructor Details
-
IncidentEntity
public IncidentEntity(Long key, Long processDefinitionKey, String bpmnProcessId, Long processInstanceKey, IncidentEntity.ErrorType errorType, String errorMessage, String flowNodeId, Long flowNodeInstanceKey, String creationTime, IncidentEntity.IncidentState state, Long jobKey, String treePath, String tenantId) Creates an instance of aIncidentEntityrecord class.- Parameters:
key- the value for thekeyrecord componentprocessDefinitionKey- the value for theprocessDefinitionKeyrecord componentbpmnProcessId- the value for thebpmnProcessIdrecord componentprocessInstanceKey- the value for theprocessInstanceKeyrecord componenterrorType- the value for theerrorTyperecord componenterrorMessage- the value for theerrorMessagerecord componentflowNodeId- the value for theflowNodeIdrecord componentflowNodeInstanceKey- the value for theflowNodeInstanceKeyrecord componentcreationTime- the value for thecreationTimerecord componentstate- the value for thestaterecord componentjobKey- the value for thejobKeyrecord componenttreePath- the value for thetreePathrecord componenttenantId- the value for thetenantIdrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-
processDefinitionKey
Returns the value of theprocessDefinitionKeyrecord component.- Returns:
- the value of the
processDefinitionKeyrecord component
-
bpmnProcessId
Returns the value of thebpmnProcessIdrecord component.- Returns:
- the value of the
bpmnProcessIdrecord component
-
processInstanceKey
Returns the value of theprocessInstanceKeyrecord component.- Returns:
- the value of the
processInstanceKeyrecord component
-
errorType
Returns the value of theerrorTyperecord component.- Returns:
- the value of the
errorTyperecord component
-
errorMessage
Returns the value of theerrorMessagerecord component.- Returns:
- the value of the
errorMessagerecord component
-
flowNodeId
Returns the value of theflowNodeIdrecord component.- Returns:
- the value of the
flowNodeIdrecord component
-
flowNodeInstanceKey
Returns the value of theflowNodeInstanceKeyrecord component.- Returns:
- the value of the
flowNodeInstanceKeyrecord component
-
creationTime
Returns the value of thecreationTimerecord component.- Returns:
- the value of the
creationTimerecord component
-
state
Returns the value of thestaterecord component.- Returns:
- the value of the
staterecord component
-
jobKey
Returns the value of thejobKeyrecord component.- Returns:
- the value of the
jobKeyrecord component
-
treePath
Returns the value of thetreePathrecord component.- Returns:
- the value of the
treePathrecord component
-
tenantId
Returns the value of thetenantIdrecord component.- Returns:
- the value of the
tenantIdrecord component
-