Package io.camunda.service.search.filter
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
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionProcessInstanceFilter(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 aProcessInstanceFilterrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanactive()Returns the value of theactiverecord component.Returns the value of theactivityIdrecord component.Returns the value of thebatchOperationIdsrecord component.Returns the value of thebpmnProcessIdsrecord component.booleancanceled()Returns the value of thecanceledrecord component.booleanReturns the value of thecompletedrecord component.endDate()Returns the value of theendDaterecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theerrorMessagerecord component.booleanfinished()Returns the value of thefinishedrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theincidentsrecord component.Returns the value of theparentProcessInstanceKeysrecord component.Returns the value of theprocessDefinitionVersionsrecord component.booleanReturns the value of theretriesLeftrecord component.booleanrunning()Returns the value of therunningrecord component.Returns the value of thestartDaterecord component.Returns the value of thetenantIdsrecord component.final StringtoString()Returns a string representation of this record class.variable()Returns the value of thevariablerecord component.
-
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 aProcessInstanceFilterrecord class.- Parameters:
running- the value for therunningrecord componentactive- the value for theactiverecord componentincidents- the value for theincidentsrecord componentfinished- the value for thefinishedrecord componentcompleted- the value for thecompletedrecord componentcanceled- the value for thecanceledrecord componentretriesLeft- the value for theretriesLeftrecord componenterrorMessage- the value for theerrorMessagerecord componentactivityId- the value for theactivityIdrecord componentstartDate- the value for thestartDaterecord componentendDate- the value for theendDaterecord componentbpmnProcessIds- the value for thebpmnProcessIdsrecord componentprocessDefinitionVersions- the value for theprocessDefinitionVersionsrecord componentvariable- the value for thevariablerecord componentbatchOperationIds- the value for thebatchOperationIdsrecord componentparentProcessInstanceKeys- the value for theparentProcessInstanceKeysrecord componenttenantIds- the value for thetenantIdsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
running
public boolean running()Returns the value of therunningrecord component.- Returns:
- the value of the
runningrecord component
-
active
public boolean active()Returns the value of theactiverecord component.- Returns:
- the value of the
activerecord component
-
incidents
public boolean incidents()Returns the value of theincidentsrecord component.- Returns:
- the value of the
incidentsrecord component
-
finished
public boolean finished()Returns the value of thefinishedrecord component.- Returns:
- the value of the
finishedrecord component
-
completed
public boolean completed()Returns the value of thecompletedrecord component.- Returns:
- the value of the
completedrecord component
-
canceled
public boolean canceled()Returns the value of thecanceledrecord component.- Returns:
- the value of the
canceledrecord component
-
retriesLeft
public boolean retriesLeft()Returns the value of theretriesLeftrecord component.- Returns:
- the value of the
retriesLeftrecord component
-
errorMessage
Returns the value of theerrorMessagerecord component.- Returns:
- the value of the
errorMessagerecord component
-
activityId
Returns the value of theactivityIdrecord component.- Returns:
- the value of the
activityIdrecord component
-
startDate
Returns the value of thestartDaterecord component.- Returns:
- the value of the
startDaterecord component
-
endDate
Returns the value of theendDaterecord component.- Returns:
- the value of the
endDaterecord component
-
bpmnProcessIds
Returns the value of thebpmnProcessIdsrecord component.- Returns:
- the value of the
bpmnProcessIdsrecord component
-
processDefinitionVersions
Returns the value of theprocessDefinitionVersionsrecord component.- Returns:
- the value of the
processDefinitionVersionsrecord component
-
variable
Returns the value of thevariablerecord component.- Returns:
- the value of the
variablerecord component
-
batchOperationIds
Returns the value of thebatchOperationIdsrecord component.- Returns:
- the value of the
batchOperationIdsrecord component
-
parentProcessInstanceKeys
Returns the value of theparentProcessInstanceKeysrecord component.- Returns:
- the value of the
parentProcessInstanceKeysrecord component
-
tenantIds
Returns the value of thetenantIdsrecord component.- Returns:
- the value of the
tenantIdsrecord component
-