Class JobQueryDto
java.lang.Object
org.camunda.community.rest.client.dto.JobQueryDto
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-04T13:43:01.451833574Z[Etc/UTC]")
public class JobQueryDto
extends Object
A Job instance query which defines a list of Job instances
-
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 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 TypeMethodDescriptionactivityId(String activityId) addCreateTimesItem(JobConditionQueryParameterDto createTimesItem) addDueDatesItem(JobConditionQueryParameterDto dueDatesItem) addJobIdsItem(String jobIdsItem) addProcessInstanceIdsItem(String processInstanceIdsItem) addSortingItem(JobQueryDtoSortingInner sortingItem) addTenantIdInItem(String tenantIdInItem) createTimes(List<JobConditionQueryParameterDto> createTimes) dueDates(List<JobConditionQueryParameterDto> dueDates) booleanexceptionMessage(String exceptionMessage) executable(Boolean executable) executionId(String executionId) failedActivityId(String failedActivityId) Only include active jobs.org.openapitools.jackson.nullable.JsonNullable<Boolean>Only select jobs which exist for an activity with the given id.org.openapitools.jackson.nullable.JsonNullable<String>Only select jobs created before or after the given date.org.openapitools.jackson.nullable.JsonNullable<List<JobConditionQueryParameterDto>>Only select jobs where the due date is lower or higher than the given date.org.openapitools.jackson.nullable.JsonNullable<List<JobConditionQueryParameterDto>>Only select jobs that failed due to an exception with the given message.org.openapitools.jackson.nullable.JsonNullable<String>Only select jobs which are executable, i.e., retries > 0 and due date is `null` or due date is in the past.org.openapitools.jackson.nullable.JsonNullable<Boolean>Only select jobs which exist for the given execution.org.openapitools.jackson.nullable.JsonNullable<String>Only select jobs that failed due to an exception at an activity with the given id.org.openapitools.jackson.nullable.JsonNullable<String>Include jobs which belong to no tenant.org.openapitools.jackson.nullable.JsonNullable<Boolean>Only select jobs which exist for the given job definition.org.openapitools.jackson.nullable.JsonNullable<String>getJobId()Filter by job id.org.openapitools.jackson.nullable.JsonNullable<String>Filter by a list of job ids.Only select jobs that are messages.org.openapitools.jackson.nullable.JsonNullable<Boolean>Only select jobs which have no retries left.org.openapitools.jackson.nullable.JsonNullable<Boolean>Only include jobs with a priority higher than or equal to the given value.org.openapitools.jackson.nullable.JsonNullable<Long>Only include jobs with a priority lower than or equal to the given value.org.openapitools.jackson.nullable.JsonNullable<Long>Filter by the id of the process definition the jobs run on.org.openapitools.jackson.nullable.JsonNullable<String>Filter by the key of the process definition the jobs run on.org.openapitools.jackson.nullable.JsonNullable<String>Only select jobs which exist for the given process instance.org.openapitools.jackson.nullable.JsonNullable<String>Only select jobs which exist for the given list of process instance ids.An array of criteria to sort the result by.org.openapitools.jackson.nullable.JsonNullable<List<JobQueryDtoSortingInner>>Only include suspended jobs.org.openapitools.jackson.nullable.JsonNullable<Boolean>Only include jobs which belong to one of the passed tenant ids.Only select jobs that are timers.org.openapitools.jackson.nullable.JsonNullable<Boolean>Only select jobs that failed due to an exception.org.openapitools.jackson.nullable.JsonNullable<Boolean>Only include jobs which belong to no tenant.org.openapitools.jackson.nullable.JsonNullable<Boolean>Only select jobs which have retries left.org.openapitools.jackson.nullable.JsonNullable<Boolean>inthashCode()includeJobsWithoutTenantId(Boolean includeJobsWithoutTenantId) jobDefinitionId(String jobDefinitionId) noRetriesLeft(Boolean noRetriesLeft) priorityHigherThanOrEquals(Long priorityHigherThanOrEquals) priorityLowerThanOrEquals(Long priorityLowerThanOrEquals) processDefinitionId(String processDefinitionId) processDefinitionKey(String processDefinitionKey) processInstanceId(String processInstanceId) processInstanceIds(List<String> processInstanceIds) voidvoidsetActive_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> active) voidsetActivityId(String activityId) voidsetActivityId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> activityId) voidsetCreateTimes(List<JobConditionQueryParameterDto> createTimes) voidsetCreateTimes_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<JobConditionQueryParameterDto>> createTimes) voidsetDueDates(List<JobConditionQueryParameterDto> dueDates) voidsetDueDates_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<JobConditionQueryParameterDto>> dueDates) voidsetExceptionMessage(String exceptionMessage) voidsetExceptionMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> exceptionMessage) voidsetExecutable(Boolean executable) voidsetExecutable_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> executable) voidsetExecutionId(String executionId) voidsetExecutionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> executionId) voidsetFailedActivityId(String failedActivityId) voidsetFailedActivityId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> failedActivityId) voidsetIncludeJobsWithoutTenantId(Boolean includeJobsWithoutTenantId) voidsetIncludeJobsWithoutTenantId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> includeJobsWithoutTenantId) voidsetJobDefinitionId(String jobDefinitionId) voidsetJobDefinitionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> jobDefinitionId) voidvoidsetJobId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> jobId) voidvoidsetJobIds_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> jobIds) voidsetMessages(Boolean messages) voidsetMessages_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> messages) voidsetNoRetriesLeft(Boolean noRetriesLeft) voidsetNoRetriesLeft_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> noRetriesLeft) voidsetPriorityHigherThanOrEquals(Long priorityHigherThanOrEquals) voidsetPriorityHigherThanOrEquals_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> priorityHigherThanOrEquals) voidsetPriorityLowerThanOrEquals(Long priorityLowerThanOrEquals) voidsetPriorityLowerThanOrEquals_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> priorityLowerThanOrEquals) voidsetProcessDefinitionId(String processDefinitionId) voidsetProcessDefinitionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> processDefinitionId) voidsetProcessDefinitionKey(String processDefinitionKey) voidsetProcessDefinitionKey_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> processDefinitionKey) voidsetProcessInstanceId(String processInstanceId) voidsetProcessInstanceId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> processInstanceId) voidsetProcessInstanceIds(List<String> processInstanceIds) voidsetProcessInstanceIds_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> processInstanceIds) voidsetSorting(List<JobQueryDtoSortingInner> sorting) voidsetSorting_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<JobQueryDtoSortingInner>> sorting) voidsetSuspended(Boolean suspended) voidsetSuspended_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> suspended) voidsetTenantIdIn(List<String> tenantIdIn) voidsetTenantIdIn_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> tenantIdIn) voidvoidsetTimers_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> timers) voidsetWithException(Boolean withException) voidsetWithException_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> withException) voidsetWithoutTenantId(Boolean withoutTenantId) voidsetWithoutTenantId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> withoutTenantId) voidsetWithRetriesLeft(Boolean withRetriesLeft) voidsetWithRetriesLeft_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> withRetriesLeft) sorting(List<JobQueryDtoSortingInner> sorting) tenantIdIn(List<String> tenantIdIn) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.withException(Boolean withException) withoutTenantId(Boolean withoutTenantId) withRetriesLeft(Boolean withRetriesLeft)
-
Field Details
-
JSON_PROPERTY_JOB_ID
- See Also:
-
JSON_PROPERTY_JOB_IDS
- See Also:
-
JSON_PROPERTY_JOB_DEFINITION_ID
- See Also:
-
JSON_PROPERTY_PROCESS_INSTANCE_ID
- See Also:
-
JSON_PROPERTY_PROCESS_INSTANCE_IDS
- See Also:
-
JSON_PROPERTY_EXECUTION_ID
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_ID
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_KEY
- See Also:
-
JSON_PROPERTY_ACTIVITY_ID
- See Also:
-
JSON_PROPERTY_WITH_RETRIES_LEFT
- See Also:
-
JSON_PROPERTY_EXECUTABLE
- See Also:
-
JSON_PROPERTY_TIMERS
- See Also:
-
JSON_PROPERTY_MESSAGES
- See Also:
-
JSON_PROPERTY_DUE_DATES
- See Also:
-
JSON_PROPERTY_CREATE_TIMES
- See Also:
-
JSON_PROPERTY_WITH_EXCEPTION
- See Also:
-
JSON_PROPERTY_EXCEPTION_MESSAGE
- See Also:
-
JSON_PROPERTY_FAILED_ACTIVITY_ID
- See Also:
-
JSON_PROPERTY_NO_RETRIES_LEFT
- See Also:
-
JSON_PROPERTY_ACTIVE
- See Also:
-
JSON_PROPERTY_SUSPENDED
- See Also:
-
JSON_PROPERTY_PRIORITY_LOWER_THAN_OR_EQUALS
- See Also:
-
JSON_PROPERTY_PRIORITY_HIGHER_THAN_OR_EQUALS
- See Also:
-
JSON_PROPERTY_TENANT_ID_IN
- See Also:
-
JSON_PROPERTY_WITHOUT_TENANT_ID
- See Also:
-
JSON_PROPERTY_INCLUDE_JOBS_WITHOUT_TENANT_ID
- See Also:
-
JSON_PROPERTY_SORTING
- See Also:
-
-
Constructor Details
-
JobQueryDto
public JobQueryDto()
-
-
Method Details
-
jobId
-
getJobId
Filter by job id.- Returns:
- jobId
-
getJobId_JsonNullable
-
setJobId_JsonNullable
-
setJobId
-
jobIds
-
addJobIdsItem
-
getJobIds
Filter by a list of job ids.- Returns:
- jobIds
-
getJobIds_JsonNullable
-
setJobIds_JsonNullable
-
setJobIds
-
jobDefinitionId
-
getJobDefinitionId
Only select jobs which exist for the given job definition.- Returns:
- jobDefinitionId
-
getJobDefinitionId_JsonNullable
-
setJobDefinitionId_JsonNullable
public void setJobDefinitionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> jobDefinitionId) -
setJobDefinitionId
-
processInstanceId
-
getProcessInstanceId
Only select jobs which exist for the given process instance.- Returns:
- processInstanceId
-
getProcessInstanceId_JsonNullable
-
setProcessInstanceId_JsonNullable
public void setProcessInstanceId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> processInstanceId) -
setProcessInstanceId
-
processInstanceIds
-
addProcessInstanceIdsItem
-
getProcessInstanceIds
Only select jobs which exist for the given list of process instance ids.- Returns:
- processInstanceIds
-
getProcessInstanceIds_JsonNullable
-
setProcessInstanceIds_JsonNullable
-
setProcessInstanceIds
-
executionId
-
getExecutionId
Only select jobs which exist for the given execution.- Returns:
- executionId
-
getExecutionId_JsonNullable
-
setExecutionId_JsonNullable
public void setExecutionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> executionId) -
setExecutionId
-
processDefinitionId
-
getProcessDefinitionId
Filter by the id of the process definition the jobs run on.- Returns:
- processDefinitionId
-
getProcessDefinitionId_JsonNullable
-
setProcessDefinitionId_JsonNullable
public void setProcessDefinitionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> processDefinitionId) -
setProcessDefinitionId
-
processDefinitionKey
-
getProcessDefinitionKey
Filter by the key of the process definition the jobs run on.- Returns:
- processDefinitionKey
-
getProcessDefinitionKey_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getProcessDefinitionKey_JsonNullable() -
setProcessDefinitionKey_JsonNullable
public void setProcessDefinitionKey_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> processDefinitionKey) -
setProcessDefinitionKey
-
activityId
-
getActivityId
Only select jobs which exist for an activity with the given id.- Returns:
- activityId
-
getActivityId_JsonNullable
-
setActivityId_JsonNullable
public void setActivityId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> activityId) -
setActivityId
-
withRetriesLeft
-
getWithRetriesLeft
Only select jobs which have retries left. Value may only be `true`, as `false` is the default behavior.- Returns:
- withRetriesLeft
-
getWithRetriesLeft_JsonNullable
-
setWithRetriesLeft_JsonNullable
public void setWithRetriesLeft_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> withRetriesLeft) -
setWithRetriesLeft
-
executable
-
getExecutable
Only select jobs which are executable, i.e., retries > 0 and due date is `null` or due date is in the past. Value may only be `true`, as `false` is the default behavior.- Returns:
- executable
-
getExecutable_JsonNullable
-
setExecutable_JsonNullable
public void setExecutable_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> executable) -
setExecutable
-
timers
-
getTimers
Only select jobs that are timers. Cannot be used together with `messages`. Value may only be `true`, as `false` is the default behavior.- Returns:
- timers
-
getTimers_JsonNullable
-
setTimers_JsonNullable
-
setTimers
-
messages
-
getMessages
Only select jobs that are messages. Cannot be used together with `timers`. Value may only be `true`, as `false` is the default behavior.- Returns:
- messages
-
getMessages_JsonNullable
-
setMessages_JsonNullable
public void setMessages_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> messages) -
setMessages
-
dueDates
-
addDueDatesItem
-
getDueDates
Only select jobs where the due date is lower or higher than the given date.- Returns:
- dueDates
-
getDueDates_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<List<JobConditionQueryParameterDto>> getDueDates_JsonNullable() -
setDueDates_JsonNullable
public void setDueDates_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<JobConditionQueryParameterDto>> dueDates) -
setDueDates
-
createTimes
-
addCreateTimesItem
-
getCreateTimes
Only select jobs created before or after the given date.- Returns:
- createTimes
-
getCreateTimes_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<List<JobConditionQueryParameterDto>> getCreateTimes_JsonNullable() -
setCreateTimes_JsonNullable
public void setCreateTimes_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<JobConditionQueryParameterDto>> createTimes) -
setCreateTimes
-
withException
-
getWithException
Only select jobs that failed due to an exception. Value may only be `true`, as `false` is the default behavior.- Returns:
- withException
-
getWithException_JsonNullable
-
setWithException_JsonNullable
public void setWithException_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> withException) -
setWithException
-
exceptionMessage
-
getExceptionMessage
Only select jobs that failed due to an exception with the given message.- Returns:
- exceptionMessage
-
getExceptionMessage_JsonNullable
-
setExceptionMessage_JsonNullable
public void setExceptionMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> exceptionMessage) -
setExceptionMessage
-
failedActivityId
-
getFailedActivityId
Only select jobs that failed due to an exception at an activity with the given id.- Returns:
- failedActivityId
-
getFailedActivityId_JsonNullable
-
setFailedActivityId_JsonNullable
public void setFailedActivityId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> failedActivityId) -
setFailedActivityId
-
noRetriesLeft
-
getNoRetriesLeft
Only select jobs which have no retries left. Value may only be `true`, as `false` is the default behavior.- Returns:
- noRetriesLeft
-
getNoRetriesLeft_JsonNullable
-
setNoRetriesLeft_JsonNullable
public void setNoRetriesLeft_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> noRetriesLeft) -
setNoRetriesLeft
-
active
-
getActive
Only include active jobs. Value may only be `true`, as `false` is the default behavior.- Returns:
- active
-
getActive_JsonNullable
-
setActive_JsonNullable
-
setActive
-
suspended
-
getSuspended
Only include suspended jobs. Value may only be `true`, as `false` is the default behavior.- Returns:
- suspended
-
getSuspended_JsonNullable
-
setSuspended_JsonNullable
public void setSuspended_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> suspended) -
setSuspended
-
priorityLowerThanOrEquals
-
getPriorityLowerThanOrEquals
Only include jobs with a priority lower than or equal to the given value. Value must be a valid `long` value.- Returns:
- priorityLowerThanOrEquals
-
getPriorityLowerThanOrEquals_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<Long> getPriorityLowerThanOrEquals_JsonNullable() -
setPriorityLowerThanOrEquals_JsonNullable
public void setPriorityLowerThanOrEquals_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> priorityLowerThanOrEquals) -
setPriorityLowerThanOrEquals
-
priorityHigherThanOrEquals
-
getPriorityHigherThanOrEquals
Only include jobs with a priority higher than or equal to the given value. Value must be a valid `long` value.- Returns:
- priorityHigherThanOrEquals
-
getPriorityHigherThanOrEquals_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<Long> getPriorityHigherThanOrEquals_JsonNullable() -
setPriorityHigherThanOrEquals_JsonNullable
public void setPriorityHigherThanOrEquals_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> priorityHigherThanOrEquals) -
setPriorityHigherThanOrEquals
-
tenantIdIn
-
addTenantIdInItem
-
getTenantIdIn
Only include jobs which belong to one of the passed tenant ids.- Returns:
- tenantIdIn
-
getTenantIdIn_JsonNullable
-
setTenantIdIn_JsonNullable
-
setTenantIdIn
-
withoutTenantId
-
getWithoutTenantId
Only include jobs which belong to no tenant. Value may only be `true`, as `false` is the default behavior.- Returns:
- withoutTenantId
-
getWithoutTenantId_JsonNullable
-
setWithoutTenantId_JsonNullable
public void setWithoutTenantId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> withoutTenantId) -
setWithoutTenantId
-
includeJobsWithoutTenantId
-
getIncludeJobsWithoutTenantId
Include jobs which belong to no tenant. Can be used in combination with `tenantIdIn`. Value may only be `true`, as `false` is the default behavior.- Returns:
- includeJobsWithoutTenantId
-
getIncludeJobsWithoutTenantId_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<Boolean> getIncludeJobsWithoutTenantId_JsonNullable() -
setIncludeJobsWithoutTenantId_JsonNullable
public void setIncludeJobsWithoutTenantId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> includeJobsWithoutTenantId) -
setIncludeJobsWithoutTenantId
-
sorting
-
addSortingItem
-
getSorting
An array of criteria to sort the result by. Each element of the array is an object that specifies one ordering. The position in the array identifies the rank of an ordering, i.e., whether it is primary, secondary, etc. Does not have an effect for the `count` endpoint.- Returns:
- sorting
-
getSorting_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<List<JobQueryDtoSortingInner>> getSorting_JsonNullable() -
setSorting_JsonNullable
public void setSorting_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<JobQueryDtoSortingInner>> sorting) -
setSorting
-
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
-