Package io.camunda.client.protocol.rest
Class ProcessDefinitionStatisticsFilter
java.lang.Object
io.camunda.client.protocol.rest.ProcessDefinitionStatisticsFilter
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-04T12:01:10.435788262Z[GMT]",
comments="Generator version: 7.12.0")
public class ProcessDefinitionStatisticsFilter
extends Object
Process definition statistics search filter.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddVariablesItem(VariableValueFilterRequest variablesItem) batchOperationId(StringFilterProperty batchOperationId) elementId(StringFilterProperty elementId) elementInstanceState(ElementInstanceStateFilterProperty elementInstanceState) endDate(DateTimeFilterProperty endDate) booleanerrorMessage(StringFilterProperty errorMessage) get$Or()Defines a list of alternative filter groups combined using OR logic.The batch operation ID.The element ID associated with the process instance.The state of the element instances associated with the process instance.The end date.The error message related to the process.Whether the element instance has an incident or not.Whether this process instance has a related incident or not.Whether the process has failed jobs with retries left.The incident error hash code, associated with this process.The parent element instance key.The parent process instance key.The key of this process instance.The start date.getState()The process instance state.The tenant ID.The process instance variables.hasElementInstanceIncident(Boolean hasElementInstanceIncident) inthashCode()hasIncident(Boolean hasIncident) hasRetriesLeft(Boolean hasRetriesLeft) incidentErrorHashCode(Integer incidentErrorHashCode) parentElementInstanceKey(BasicStringFilterProperty parentElementInstanceKey) parentProcessInstanceKey(BasicStringFilterProperty parentProcessInstanceKey) processInstanceKey(BasicStringFilterProperty processInstanceKey) voidvoidsetBatchOperationId(StringFilterProperty batchOperationId) voidsetElementId(StringFilterProperty elementId) voidsetElementInstanceState(ElementInstanceStateFilterProperty elementInstanceState) voidsetEndDate(DateTimeFilterProperty endDate) voidsetErrorMessage(StringFilterProperty errorMessage) voidsetHasElementInstanceIncident(Boolean hasElementInstanceIncident) voidsetHasIncident(Boolean hasIncident) voidsetHasRetriesLeft(Boolean hasRetriesLeft) voidsetIncidentErrorHashCode(Integer incidentErrorHashCode) voidsetParentElementInstanceKey(BasicStringFilterProperty parentElementInstanceKey) voidsetParentProcessInstanceKey(BasicStringFilterProperty parentProcessInstanceKey) voidsetProcessInstanceKey(BasicStringFilterProperty processInstanceKey) voidsetStartDate(DateTimeFilterProperty startDate) voidvoidsetTenantId(StringFilterProperty tenantId) voidsetVariables(List<VariableValueFilterRequest> variables) startDate(DateTimeFilterProperty startDate) tenantId(StringFilterProperty tenantId) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.variables(List<VariableValueFilterRequest> variables)
-
Field Details
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_END_DATE
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_HAS_INCIDENT
- See Also:
-
JSON_PROPERTY_TENANT_ID
- See Also:
-
JSON_PROPERTY_VARIABLES
- See Also:
-
JSON_PROPERTY_PROCESS_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_PARENT_PROCESS_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_PARENT_ELEMENT_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_BATCH_OPERATION_ID
- See Also:
-
JSON_PROPERTY_ERROR_MESSAGE
- See Also:
-
JSON_PROPERTY_HAS_RETRIES_LEFT
- See Also:
-
JSON_PROPERTY_ELEMENT_INSTANCE_STATE
- See Also:
-
JSON_PROPERTY_ELEMENT_ID
- See Also:
-
JSON_PROPERTY_HAS_ELEMENT_INSTANCE_INCIDENT
- See Also:
-
JSON_PROPERTY_INCIDENT_ERROR_HASH_CODE
- See Also:
-
JSON_PROPERTY_$_OR
- See Also:
-
-
Constructor Details
-
ProcessDefinitionStatisticsFilter
public ProcessDefinitionStatisticsFilter()
-
-
Method Details
-
startDate
-
getStartDate
The start date.- Returns:
- startDate
-
setStartDate
-
endDate
-
getEndDate
The end date.- Returns:
- endDate
-
setEndDate
-
state
-
getState
The process instance state.- Returns:
- state
-
setState
-
hasIncident
-
getHasIncident
Whether this process instance has a related incident or not.- Returns:
- hasIncident
-
setHasIncident
-
tenantId
-
getTenantId
The tenant ID.- Returns:
- tenantId
-
setTenantId
-
variables
public ProcessDefinitionStatisticsFilter variables(@Nullable List<VariableValueFilterRequest> variables) -
addVariablesItem
-
getVariables
The process instance variables.- Returns:
- variables
-
setVariables
-
processInstanceKey
public ProcessDefinitionStatisticsFilter processInstanceKey(@Nullable BasicStringFilterProperty processInstanceKey) -
getProcessInstanceKey
The key of this process instance.- Returns:
- processInstanceKey
-
setProcessInstanceKey
-
parentProcessInstanceKey
public ProcessDefinitionStatisticsFilter parentProcessInstanceKey(@Nullable BasicStringFilterProperty parentProcessInstanceKey) -
getParentProcessInstanceKey
The parent process instance key.- Returns:
- parentProcessInstanceKey
-
setParentProcessInstanceKey
public void setParentProcessInstanceKey(@Nullable BasicStringFilterProperty parentProcessInstanceKey) -
parentElementInstanceKey
public ProcessDefinitionStatisticsFilter parentElementInstanceKey(@Nullable BasicStringFilterProperty parentElementInstanceKey) -
getParentElementInstanceKey
The parent element instance key.- Returns:
- parentElementInstanceKey
-
setParentElementInstanceKey
public void setParentElementInstanceKey(@Nullable BasicStringFilterProperty parentElementInstanceKey) -
batchOperationId
public ProcessDefinitionStatisticsFilter batchOperationId(@Nullable StringFilterProperty batchOperationId) -
getBatchOperationId
The batch operation ID.- Returns:
- batchOperationId
-
setBatchOperationId
-
errorMessage
-
getErrorMessage
The error message related to the process.- Returns:
- errorMessage
-
setErrorMessage
-
hasRetriesLeft
-
getHasRetriesLeft
Whether the process has failed jobs with retries left.- Returns:
- hasRetriesLeft
-
setHasRetriesLeft
-
elementInstanceState
public ProcessDefinitionStatisticsFilter elementInstanceState(@Nullable ElementInstanceStateFilterProperty elementInstanceState) -
getElementInstanceState
The state of the element instances associated with the process instance.- Returns:
- elementInstanceState
-
setElementInstanceState
public void setElementInstanceState(@Nullable ElementInstanceStateFilterProperty elementInstanceState) -
elementId
-
getElementId
The element ID associated with the process instance.- Returns:
- elementId
-
setElementId
-
hasElementInstanceIncident
public ProcessDefinitionStatisticsFilter hasElementInstanceIncident(@Nullable Boolean hasElementInstanceIncident) -
getHasElementInstanceIncident
Whether the element instance has an incident or not.- Returns:
- hasElementInstanceIncident
-
setHasElementInstanceIncident
-
incidentErrorHashCode
public ProcessDefinitionStatisticsFilter incidentErrorHashCode(@Nullable Integer incidentErrorHashCode) -
getIncidentErrorHashCode
The incident error hash code, associated with this process.- Returns:
- incidentErrorHashCode
-
setIncidentErrorHashCode
-
$or
-
add$OrItem
-
get$Or
Defines a list of alternative filter groups combined using OR logic. Each object in the array is evaluated independently, and the filter matches if any one of them is satisfied. Top-level fields and the `$or` clause are combined using AND logic — meaning: (top-level filters) AND (any of the `$or` filters) must match. <br> <em>Example:</em> ```json { \"state\": \"ACTIVE\", \"tenantId\": 123, \"$or\": [ { \"processInstanceId\": \"process_v1\" }, { \"processInstanceId\": \"process_v2\", \"hasIncident\": true } ] } ``` This matches process instances that: <ul style=\"padding-left: 20px; margin-left: 20px;\"> <li style=\"list-style-type: disc;\">are in <em>ACTIVE</em> state</li> <li style=\"list-style-type: disc;\">have tenant ID equal to <em>123</em></li> <li style=\"list-style-type: disc;\">and match either: <ul style=\"padding-left: 20px; margin-left: 20px;\"> <li style=\"list-style-type: circle;\"><code>processInstanceId</code> is <em>process_v1</em>, or</li> <li style=\"list-style-type: circle;\"><code>processInstanceId</code> is <em>process_v2</em> and <code>hasIncident</code> is <em>true</em></li> </ul> </li> </ul> <br> <p>Note: Using complex <code>$or</code> conditions may impact performance, use with caution in high-volume environments.- Returns:
- $or
-
set$Or
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-