Class ProcessDefinitionFilterImpl
java.lang.Object
io.camunda.client.impl.search.request.TypedSearchRequestPropertyProvider<ProcessDefinitionFilter>
io.camunda.client.impl.search.filter.ProcessDefinitionFilterImpl
- All Implemented Interfaces:
ProcessDefinitionFilter,TypedFilterableRequest.SearchRequestFilter
public class ProcessDefinitionFilterImpl
extends TypedSearchRequestPropertyProvider<ProcessDefinitionFilter>
implements ProcessDefinitionFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ProcessDefinitionFilterhasStartForm(boolean hasStartForm) Filters process definitions by having or not a form to start the processisLatestVersion(boolean latestVersion) Filters process definitions to only include the latest version of each process definition.Filters process definitions by the specified name.name(Consumer<StringProperty> fn) Filters process definitions by the specified name usingStringPropertyconsumer.processDefinitionId(String processDefinitionId) Filters process definitions by the specified process definition id.Filters process definitions by the specified processDefinitionId usingStringPropertyconsumer.processDefinitionKey(long processDefinitionKey) Filters process definitions by the specified process definition key.resourceName(String resourceName) Filters process definitions by the specified resource name.Filters process definitions by the specified tenant id.version(int version) Filters process definitions by the specified version.versionTag(String versionTag) Filters process definitions by the specified version tag.Methods inherited from class io.camunda.client.impl.search.request.TypedSearchRequestPropertyProvider
provideSearchRequestProperty
-
Constructor Details
-
ProcessDefinitionFilterImpl
public ProcessDefinitionFilterImpl()
-
-
Method Details
-
isLatestVersion
Description copied from interface:ProcessDefinitionFilterFilters process definitions to only include the latest version of each process definition.- Specified by:
isLatestVersionin interfaceProcessDefinitionFilter- Returns:
- the updated filter
-
processDefinitionKey
Description copied from interface:ProcessDefinitionFilterFilters process definitions by the specified process definition key.- Specified by:
processDefinitionKeyin interfaceProcessDefinitionFilter- Parameters:
processDefinitionKey- the key of the process definition- Returns:
- the updated filter
-
name
Description copied from interface:ProcessDefinitionFilterFilters process definitions by the specified name.- Specified by:
namein interfaceProcessDefinitionFilter- Parameters:
name- the name of the process definition- Returns:
- the updated filter
-
name
Description copied from interface:ProcessDefinitionFilterFilters process definitions by the specified name usingStringPropertyconsumer.- Specified by:
namein interfaceProcessDefinitionFilter- Parameters:
fn- the nameStringPropertyconsumer of the process definition- Returns:
- the updated filter
-
resourceName
Description copied from interface:ProcessDefinitionFilterFilters process definitions by the specified resource name.- Specified by:
resourceNamein interfaceProcessDefinitionFilter- Parameters:
resourceName- the resource name of the process definition- Returns:
- the updated filter
-
version
Description copied from interface:ProcessDefinitionFilterFilters process definitions by the specified version.- Specified by:
versionin interfaceProcessDefinitionFilter- Parameters:
version- the version of the process definition- Returns:
- the updated filter
-
versionTag
Description copied from interface:ProcessDefinitionFilterFilters process definitions by the specified version tag.- Specified by:
versionTagin interfaceProcessDefinitionFilter- Parameters:
versionTag- the version tag of the process definition- Returns:
- the updated filter
-
processDefinitionId
Description copied from interface:ProcessDefinitionFilterFilters process definitions by the specified process definition id.- Specified by:
processDefinitionIdin interfaceProcessDefinitionFilter- Parameters:
processDefinitionId- the id of the process definition- Returns:
- the updated filter
-
processDefinitionId
Description copied from interface:ProcessDefinitionFilterFilters process definitions by the specified processDefinitionId usingStringPropertyconsumer.- Specified by:
processDefinitionIdin interfaceProcessDefinitionFilter- Parameters:
fn- the processDefinitionIdStringPropertyconsumer of the process definition- Returns:
- the updated filter
-
tenantId
Description copied from interface:ProcessDefinitionFilterFilters process definitions by the specified tenant id.- Specified by:
tenantIdin interfaceProcessDefinitionFilter- Parameters:
tenantId- the tenant id of the process definition.- Returns:
- the updated filter
-
hasStartForm
Description copied from interface:ProcessDefinitionFilterFilters process definitions by having or not a form to start the process- Specified by:
hasStartFormin interfaceProcessDefinitionFilter- Parameters:
hasStartForm- boolean to indicate how to filter- Returns:
- the updated filter
-
getSearchRequestProperty
- Specified by:
getSearchRequestPropertyin classTypedSearchRequestPropertyProvider<ProcessDefinitionFilter>
-