Record Class ProcessInstanceFilter

java.lang.Object
java.lang.Record
io.camunda.service.search.filter.ProcessInstanceFilter
All Implemented Interfaces:
FilterBase

public record ProcessInstanceFilter(boolean running, boolean active, boolean incidents, boolean finished, boolean completed, boolean canceled, boolean retriesLeft, String errorMessage, String activityId, DateValueFilter startDate, DateValueFilter endDate, List<String> bpmnProcessIds, List<Integer> processDefinitionVersions, ProcessInstanceVariableFilter variable, List<String> batchOperationIds, List<Long> parentProcessInstanceKeys, List<String> tenantIds) extends Record implements FilterBase
  • Constructor Details

    • ProcessInstanceFilter

      public ProcessInstanceFilter(boolean running, boolean active, boolean incidents, boolean finished, boolean completed, boolean canceled, boolean retriesLeft, String errorMessage, String activityId, DateValueFilter startDate, DateValueFilter endDate, List<String> bpmnProcessIds, List<Integer> processDefinitionVersions, ProcessInstanceVariableFilter variable, List<String> batchOperationIds, List<Long> parentProcessInstanceKeys, List<String> tenantIds)
      Creates an instance of a ProcessInstanceFilter record class.
      Parameters:
      running - the value for the running record component
      active - the value for the active record component
      incidents - the value for the incidents record component
      finished - the value for the finished record component
      completed - the value for the completed record component
      canceled - the value for the canceled record component
      retriesLeft - the value for the retriesLeft record component
      errorMessage - the value for the errorMessage record component
      activityId - the value for the activityId record component
      startDate - the value for the startDate record component
      endDate - the value for the endDate record component
      bpmnProcessIds - the value for the bpmnProcessIds record component
      processDefinitionVersions - the value for the processDefinitionVersions record component
      variable - the value for the variable record component
      batchOperationIds - the value for the batchOperationIds record component
      parentProcessInstanceKeys - the value for the parentProcessInstanceKeys record component
      tenantIds - the value for the tenantIds 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • running

      public boolean running()
      Returns the value of the running record component.
      Returns:
      the value of the running record component
    • active

      public boolean active()
      Returns the value of the active record component.
      Returns:
      the value of the active record component
    • incidents

      public boolean incidents()
      Returns the value of the incidents record component.
      Returns:
      the value of the incidents record component
    • finished

      public boolean finished()
      Returns the value of the finished record component.
      Returns:
      the value of the finished record component
    • completed

      public boolean completed()
      Returns the value of the completed record component.
      Returns:
      the value of the completed record component
    • canceled

      public boolean canceled()
      Returns the value of the canceled record component.
      Returns:
      the value of the canceled record component
    • retriesLeft

      public boolean retriesLeft()
      Returns the value of the retriesLeft record component.
      Returns:
      the value of the retriesLeft record component
    • errorMessage

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

      public String activityId()
      Returns the value of the activityId record component.
      Returns:
      the value of the activityId record component
    • startDate

      public DateValueFilter startDate()
      Returns the value of the startDate record component.
      Returns:
      the value of the startDate record component
    • endDate

      public DateValueFilter endDate()
      Returns the value of the endDate record component.
      Returns:
      the value of the endDate record component
    • bpmnProcessIds

      public List<String> bpmnProcessIds()
      Returns the value of the bpmnProcessIds record component.
      Returns:
      the value of the bpmnProcessIds record component
    • processDefinitionVersions

      public List<Integer> processDefinitionVersions()
      Returns the value of the processDefinitionVersions record component.
      Returns:
      the value of the processDefinitionVersions record component
    • variable

      public ProcessInstanceVariableFilter variable()
      Returns the value of the variable record component.
      Returns:
      the value of the variable record component
    • batchOperationIds

      public List<String> batchOperationIds()
      Returns the value of the batchOperationIds record component.
      Returns:
      the value of the batchOperationIds record component
    • parentProcessInstanceKeys

      public List<Long> parentProcessInstanceKeys()
      Returns the value of the parentProcessInstanceKeys record component.
      Returns:
      the value of the parentProcessInstanceKeys record component
    • tenantIds

      public List<String> tenantIds()
      Returns the value of the tenantIds record component.
      Returns:
      the value of the tenantIds record component