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
  • 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 a IncidentEntity record class.
      Parameters:
      key - the value for the key record component
      processDefinitionKey - the value for the processDefinitionKey record component
      bpmnProcessId - the value for the bpmnProcessId record component
      processInstanceKey - the value for the processInstanceKey record component
      errorType - the value for the errorType record component
      errorMessage - the value for the errorMessage record component
      flowNodeId - the value for the flowNodeId record component
      flowNodeInstanceKey - the value for the flowNodeInstanceKey record component
      creationTime - the value for the creationTime record component
      state - the value for the state record component
      jobKey - the value for the jobKey record component
      treePath - the value for the treePath record component
      tenantId - the value for the tenantId record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • key

      public Long key()
      Returns the value of the key record component.
      Returns:
      the value of the key record component
    • processDefinitionKey

      public Long processDefinitionKey()
      Returns the value of the processDefinitionKey record component.
      Returns:
      the value of the processDefinitionKey record component
    • bpmnProcessId

      public String bpmnProcessId()
      Returns the value of the bpmnProcessId record component.
      Returns:
      the value of the bpmnProcessId record component
    • processInstanceKey

      public Long processInstanceKey()
      Returns the value of the processInstanceKey record component.
      Returns:
      the value of the processInstanceKey record component
    • errorType

      public IncidentEntity.ErrorType errorType()
      Returns the value of the errorType record component.
      Returns:
      the value of the errorType record component
    • errorMessage

      public String errorMessage()
      Returns the value of the errorMessage record component.
      Returns:
      the value of the errorMessage record component
    • flowNodeId

      public String flowNodeId()
      Returns the value of the flowNodeId record component.
      Returns:
      the value of the flowNodeId record component
    • flowNodeInstanceKey

      public Long flowNodeInstanceKey()
      Returns the value of the flowNodeInstanceKey record component.
      Returns:
      the value of the flowNodeInstanceKey record component
    • creationTime

      public String creationTime()
      Returns the value of the creationTime record component.
      Returns:
      the value of the creationTime record component
    • state

      Returns the value of the state record component.
      Returns:
      the value of the state record component
    • jobKey

      public Long jobKey()
      Returns the value of the jobKey record component.
      Returns:
      the value of the jobKey record component
    • treePath

      public String treePath()
      Returns the value of the treePath record component.
      Returns:
      the value of the treePath record component
    • tenantId

      public String tenantId()
      Returns the value of the tenantId record component.
      Returns:
      the value of the tenantId record component