Package org.openapitools.client.model
Class JobQueryDto
- java.lang.Object
-
- org.openapitools.client.model.JobQueryDto
-
public class JobQueryDto extends Object
A Job instance query which defines a list of Job instances
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description JobQueryDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobQueryDtoactive(Boolean active)JobQueryDtoactivityId(String activityId)JobQueryDtoaddCreateTimesItem(JobConditionQueryParameterDto createTimesItem)JobQueryDtoaddDueDatesItem(JobConditionQueryParameterDto dueDatesItem)JobQueryDtoaddJobIdsItem(String jobIdsItem)JobQueryDtoaddProcessInstanceIdsItem(String processInstanceIdsItem)JobQueryDtoaddSortingItem(JobQueryDtoSorting sortingItem)JobQueryDtoaddTenantIdInItem(String tenantIdInItem)JobQueryDtocreateTimes(List<JobConditionQueryParameterDto> createTimes)JobQueryDtodueDates(List<JobConditionQueryParameterDto> dueDates)booleanequals(Object o)JobQueryDtoexceptionMessage(String exceptionMessage)JobQueryDtoexecutable(Boolean executable)JobQueryDtoexecutionId(String executionId)JobQueryDtofailedActivityId(String failedActivityId)BooleangetActive()Only include active jobs.StringgetActivityId()Only select jobs which exist for an activity with the given id.List<JobConditionQueryParameterDto>getCreateTimes()Only select jobs created before or after the given date.List<JobConditionQueryParameterDto>getDueDates()Only select jobs where the due date is lower or higher than the given date.StringgetExceptionMessage()Only select jobs that failed due to an exception with the given message.BooleangetExecutable()Only select jobs which are executable, i.e., retries > 0 and due date is `null` or due date is in the past.StringgetExecutionId()Only select jobs which exist for the given execution.StringgetFailedActivityId()Only select jobs that failed due to an exception at an activity with the given id.BooleangetIncludeJobsWithoutTenantId()Include jobs which belong to no tenant.StringgetJobDefinitionId()Only select jobs which exist for the given job definition.StringgetJobId()Filter by job id.List<String>getJobIds()Filter by a list of job ids.BooleangetMessages()Only select jobs that are messages.BooleangetNoRetriesLeft()Only select jobs which have no retries left.LonggetPriorityHigherThanOrEquals()Only include jobs with a priority higher than or equal to the given value.LonggetPriorityLowerThanOrEquals()Only include jobs with a priority lower than or equal to the given value.StringgetProcessDefinitionId()Filter by the id of the process definition the jobs run on.StringgetProcessDefinitionKey()Filter by the key of the process definition the jobs run on.StringgetProcessInstanceId()Only select jobs which exist for the given process instance.List<String>getProcessInstanceIds()Only select jobs which exist for the given list of process instance ids.List<JobQueryDtoSorting>getSorting()An array of criteria to sort the result by.BooleangetSuspended()Only include suspended jobs.List<String>getTenantIdIn()Only include jobs which belong to one of the passed tenant ids.BooleangetTimers()Only select jobs that are timers.BooleangetWithException()Only select jobs that failed due to an exception.BooleangetWithoutTenantId()Only include jobs which belong to no tenant.BooleangetWithRetriesLeft()Only select jobs which have retries left.inthashCode()JobQueryDtoincludeJobsWithoutTenantId(Boolean includeJobsWithoutTenantId)JobQueryDtojobDefinitionId(String jobDefinitionId)JobQueryDtojobId(String jobId)JobQueryDtojobIds(List<String> jobIds)JobQueryDtomessages(Boolean messages)JobQueryDtonoRetriesLeft(Boolean noRetriesLeft)JobQueryDtopriorityHigherThanOrEquals(Long priorityHigherThanOrEquals)JobQueryDtopriorityLowerThanOrEquals(Long priorityLowerThanOrEquals)JobQueryDtoprocessDefinitionId(String processDefinitionId)JobQueryDtoprocessDefinitionKey(String processDefinitionKey)JobQueryDtoprocessInstanceId(String processInstanceId)JobQueryDtoprocessInstanceIds(List<String> processInstanceIds)voidsetActive(Boolean active)voidsetActivityId(String activityId)voidsetCreateTimes(List<JobConditionQueryParameterDto> createTimes)voidsetDueDates(List<JobConditionQueryParameterDto> dueDates)voidsetExceptionMessage(String exceptionMessage)voidsetExecutable(Boolean executable)voidsetExecutionId(String executionId)voidsetFailedActivityId(String failedActivityId)voidsetIncludeJobsWithoutTenantId(Boolean includeJobsWithoutTenantId)voidsetJobDefinitionId(String jobDefinitionId)voidsetJobId(String jobId)voidsetJobIds(List<String> jobIds)voidsetMessages(Boolean messages)voidsetNoRetriesLeft(Boolean noRetriesLeft)voidsetPriorityHigherThanOrEquals(Long priorityHigherThanOrEquals)voidsetPriorityLowerThanOrEquals(Long priorityLowerThanOrEquals)voidsetProcessDefinitionId(String processDefinitionId)voidsetProcessDefinitionKey(String processDefinitionKey)voidsetProcessInstanceId(String processInstanceId)voidsetProcessInstanceIds(List<String> processInstanceIds)voidsetSorting(List<JobQueryDtoSorting> sorting)voidsetSuspended(Boolean suspended)voidsetTenantIdIn(List<String> tenantIdIn)voidsetTimers(Boolean timers)voidsetWithException(Boolean withException)voidsetWithoutTenantId(Boolean withoutTenantId)voidsetWithRetriesLeft(Boolean withRetriesLeft)JobQueryDtosorting(List<JobQueryDtoSorting> sorting)JobQueryDtosuspended(Boolean suspended)JobQueryDtotenantIdIn(List<String> tenantIdIn)JobQueryDtotimers(Boolean timers)StringtoString()JobQueryDtowithException(Boolean withException)JobQueryDtowithoutTenantId(Boolean withoutTenantId)JobQueryDtowithRetriesLeft(Boolean withRetriesLeft)
-
-
-
Field Detail
-
SERIALIZED_NAME_JOB_ID
public static final String SERIALIZED_NAME_JOB_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_JOB_IDS
public static final String SERIALIZED_NAME_JOB_IDS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_JOB_DEFINITION_ID
public static final String SERIALIZED_NAME_JOB_DEFINITION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_INSTANCE_ID
public static final String SERIALIZED_NAME_PROCESS_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_INSTANCE_IDS
public static final String SERIALIZED_NAME_PROCESS_INSTANCE_IDS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXECUTION_ID
public static final String SERIALIZED_NAME_EXECUTION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_DEFINITION_ID
public static final String SERIALIZED_NAME_PROCESS_DEFINITION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_DEFINITION_KEY
public static final String SERIALIZED_NAME_PROCESS_DEFINITION_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACTIVITY_ID
public static final String SERIALIZED_NAME_ACTIVITY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WITH_RETRIES_LEFT
public static final String SERIALIZED_NAME_WITH_RETRIES_LEFT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXECUTABLE
public static final String SERIALIZED_NAME_EXECUTABLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TIMERS
public static final String SERIALIZED_NAME_TIMERS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGES
public static final String SERIALIZED_NAME_MESSAGES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DUE_DATES
public static final String SERIALIZED_NAME_DUE_DATES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATE_TIMES
public static final String SERIALIZED_NAME_CREATE_TIMES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WITH_EXCEPTION
public static final String SERIALIZED_NAME_WITH_EXCEPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXCEPTION_MESSAGE
public static final String SERIALIZED_NAME_EXCEPTION_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FAILED_ACTIVITY_ID
public static final String SERIALIZED_NAME_FAILED_ACTIVITY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NO_RETRIES_LEFT
public static final String SERIALIZED_NAME_NO_RETRIES_LEFT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACTIVE
public static final String SERIALIZED_NAME_ACTIVE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUSPENDED
public static final String SERIALIZED_NAME_SUSPENDED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRIORITY_LOWER_THAN_OR_EQUALS
public static final String SERIALIZED_NAME_PRIORITY_LOWER_THAN_OR_EQUALS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRIORITY_HIGHER_THAN_OR_EQUALS
public static final String SERIALIZED_NAME_PRIORITY_HIGHER_THAN_OR_EQUALS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TENANT_ID_IN
public static final String SERIALIZED_NAME_TENANT_ID_IN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WITHOUT_TENANT_ID
public static final String SERIALIZED_NAME_WITHOUT_TENANT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INCLUDE_JOBS_WITHOUT_TENANT_ID
public static final String SERIALIZED_NAME_INCLUDE_JOBS_WITHOUT_TENANT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SORTING
public static final String SERIALIZED_NAME_SORTING
- See Also:
- Constant Field Values
-
-
Method Detail
-
jobId
public JobQueryDto jobId(String jobId)
-
getJobId
public String getJobId()
Filter by job id.- Returns:
- jobId
-
setJobId
public void setJobId(String jobId)
-
jobIds
public JobQueryDto jobIds(List<String> jobIds)
-
addJobIdsItem
public JobQueryDto addJobIdsItem(String jobIdsItem)
-
jobDefinitionId
public JobQueryDto jobDefinitionId(String jobDefinitionId)
-
getJobDefinitionId
public String getJobDefinitionId()
Only select jobs which exist for the given job definition.- Returns:
- jobDefinitionId
-
setJobDefinitionId
public void setJobDefinitionId(String jobDefinitionId)
-
processInstanceId
public JobQueryDto processInstanceId(String processInstanceId)
-
getProcessInstanceId
public String getProcessInstanceId()
Only select jobs which exist for the given process instance.- Returns:
- processInstanceId
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
-
processInstanceIds
public JobQueryDto processInstanceIds(List<String> processInstanceIds)
-
addProcessInstanceIdsItem
public JobQueryDto addProcessInstanceIdsItem(String processInstanceIdsItem)
-
getProcessInstanceIds
public List<String> getProcessInstanceIds()
Only select jobs which exist for the given list of process instance ids.- Returns:
- processInstanceIds
-
executionId
public JobQueryDto executionId(String executionId)
-
getExecutionId
public String getExecutionId()
Only select jobs which exist for the given execution.- Returns:
- executionId
-
setExecutionId
public void setExecutionId(String executionId)
-
processDefinitionId
public JobQueryDto processDefinitionId(String processDefinitionId)
-
getProcessDefinitionId
public String getProcessDefinitionId()
Filter by the id of the process definition the jobs run on.- Returns:
- processDefinitionId
-
setProcessDefinitionId
public void setProcessDefinitionId(String processDefinitionId)
-
processDefinitionKey
public JobQueryDto processDefinitionKey(String processDefinitionKey)
-
getProcessDefinitionKey
public String getProcessDefinitionKey()
Filter by the key of the process definition the jobs run on.- Returns:
- processDefinitionKey
-
setProcessDefinitionKey
public void setProcessDefinitionKey(String processDefinitionKey)
-
activityId
public JobQueryDto activityId(String activityId)
-
getActivityId
public String getActivityId()
Only select jobs which exist for an activity with the given id.- Returns:
- activityId
-
setActivityId
public void setActivityId(String activityId)
-
withRetriesLeft
public JobQueryDto withRetriesLeft(Boolean withRetriesLeft)
-
getWithRetriesLeft
public Boolean getWithRetriesLeft()
Only select jobs which have retries left. Value may only be `true`, as `false` is the default behavior.- Returns:
- withRetriesLeft
-
setWithRetriesLeft
public void setWithRetriesLeft(Boolean withRetriesLeft)
-
executable
public JobQueryDto executable(Boolean executable)
-
getExecutable
public Boolean 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
-
setExecutable
public void setExecutable(Boolean executable)
-
timers
public JobQueryDto timers(Boolean timers)
-
getTimers
public Boolean 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
-
setTimers
public void setTimers(Boolean timers)
-
messages
public JobQueryDto messages(Boolean messages)
-
getMessages
public Boolean 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
-
setMessages
public void setMessages(Boolean messages)
-
dueDates
public JobQueryDto dueDates(List<JobConditionQueryParameterDto> dueDates)
-
addDueDatesItem
public JobQueryDto addDueDatesItem(JobConditionQueryParameterDto dueDatesItem)
-
getDueDates
public List<JobConditionQueryParameterDto> getDueDates()
Only select jobs where the due date is lower or higher than the given date.- Returns:
- dueDates
-
setDueDates
public void setDueDates(List<JobConditionQueryParameterDto> dueDates)
-
createTimes
public JobQueryDto createTimes(List<JobConditionQueryParameterDto> createTimes)
-
addCreateTimesItem
public JobQueryDto addCreateTimesItem(JobConditionQueryParameterDto createTimesItem)
-
getCreateTimes
public List<JobConditionQueryParameterDto> getCreateTimes()
Only select jobs created before or after the given date.- Returns:
- createTimes
-
setCreateTimes
public void setCreateTimes(List<JobConditionQueryParameterDto> createTimes)
-
withException
public JobQueryDto withException(Boolean withException)
-
getWithException
public Boolean getWithException()
Only select jobs that failed due to an exception. Value may only be `true`, as `false` is the default behavior.- Returns:
- withException
-
setWithException
public void setWithException(Boolean withException)
-
exceptionMessage
public JobQueryDto exceptionMessage(String exceptionMessage)
-
getExceptionMessage
public String getExceptionMessage()
Only select jobs that failed due to an exception with the given message.- Returns:
- exceptionMessage
-
setExceptionMessage
public void setExceptionMessage(String exceptionMessage)
-
failedActivityId
public JobQueryDto failedActivityId(String failedActivityId)
-
getFailedActivityId
public String getFailedActivityId()
Only select jobs that failed due to an exception at an activity with the given id.- Returns:
- failedActivityId
-
setFailedActivityId
public void setFailedActivityId(String failedActivityId)
-
noRetriesLeft
public JobQueryDto noRetriesLeft(Boolean noRetriesLeft)
-
getNoRetriesLeft
public Boolean getNoRetriesLeft()
Only select jobs which have no retries left. Value may only be `true`, as `false` is the default behavior.- Returns:
- noRetriesLeft
-
setNoRetriesLeft
public void setNoRetriesLeft(Boolean noRetriesLeft)
-
active
public JobQueryDto active(Boolean active)
-
getActive
public Boolean getActive()
Only include active jobs. Value may only be `true`, as `false` is the default behavior.- Returns:
- active
-
setActive
public void setActive(Boolean active)
-
suspended
public JobQueryDto suspended(Boolean suspended)
-
getSuspended
public Boolean getSuspended()
Only include suspended jobs. Value may only be `true`, as `false` is the default behavior.- Returns:
- suspended
-
setSuspended
public void setSuspended(Boolean suspended)
-
priorityLowerThanOrEquals
public JobQueryDto priorityLowerThanOrEquals(Long priorityLowerThanOrEquals)
-
getPriorityLowerThanOrEquals
public Long getPriorityLowerThanOrEquals()
Only include jobs with a priority lower than or equal to the given value. Value must be a valid `long` value.- Returns:
- priorityLowerThanOrEquals
-
setPriorityLowerThanOrEquals
public void setPriorityLowerThanOrEquals(Long priorityLowerThanOrEquals)
-
priorityHigherThanOrEquals
public JobQueryDto priorityHigherThanOrEquals(Long priorityHigherThanOrEquals)
-
getPriorityHigherThanOrEquals
public Long getPriorityHigherThanOrEquals()
Only include jobs with a priority higher than or equal to the given value. Value must be a valid `long` value.- Returns:
- priorityHigherThanOrEquals
-
setPriorityHigherThanOrEquals
public void setPriorityHigherThanOrEquals(Long priorityHigherThanOrEquals)
-
tenantIdIn
public JobQueryDto tenantIdIn(List<String> tenantIdIn)
-
addTenantIdInItem
public JobQueryDto addTenantIdInItem(String tenantIdInItem)
-
getTenantIdIn
public List<String> getTenantIdIn()
Only include jobs which belong to one of the passed tenant ids.- Returns:
- tenantIdIn
-
withoutTenantId
public JobQueryDto withoutTenantId(Boolean withoutTenantId)
-
getWithoutTenantId
public Boolean getWithoutTenantId()
Only include jobs which belong to no tenant. Value may only be `true`, as `false` is the default behavior.- Returns:
- withoutTenantId
-
setWithoutTenantId
public void setWithoutTenantId(Boolean withoutTenantId)
-
includeJobsWithoutTenantId
public JobQueryDto includeJobsWithoutTenantId(Boolean includeJobsWithoutTenantId)
-
getIncludeJobsWithoutTenantId
public Boolean 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
-
setIncludeJobsWithoutTenantId
public void setIncludeJobsWithoutTenantId(Boolean includeJobsWithoutTenantId)
-
sorting
public JobQueryDto sorting(List<JobQueryDtoSorting> sorting)
-
addSortingItem
public JobQueryDto addSortingItem(JobQueryDtoSorting sortingItem)
-
getSorting
public List<JobQueryDtoSorting> 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
-
setSorting
public void setSorting(List<JobQueryDtoSorting> sorting)
-
-