Class FindJobsRequest
Object
PagedRequest
FindJobsRequest
- All Implemented Interfaces:
Serializable
Contains all search criteria for jobs.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Field Summary
Fields inherited from class PagedRequest
countLimit, limit, offset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FindJobsRequest.Builderbuilder()protected booleanbooleanThe ID of the user who created the searched job.intDeprecated.Ignored, use visible instead, this will be removed in the future.getName()The name of the job to search for.The match mode for the name.The list of results which the jobs should be searched for.The field that should be used as reference for sorting.The order of sorting.The list of states which the jobs should be searched for.getTypes()The list of types of the jobs.The visibility of the jobs.inthashCode()voidsetCreatedBy(UUID createdBy) The ID of the user who created the searched job.voidsetMaxVisibility(int maxVisibility) Deprecated.Ignored, use visible instead, this will be removed in the future.voidThe name of the job to search for.voidsetNameMatchMode(MatchMode nameMatchMode) The match mode for the name.voidsetResults(List<JobResult> results) The list of results which the jobs should be searched for.voidsetSortField(FindJobsRequest.SortField sortField) The field that should be used as reference for sorting.voidsetSortOrder(SortOrder sortOrder) The order of sorting.voidThe list of states which the jobs should be searched for.voidThe list of types of the jobs.voidsetVisible(Boolean visible) The visibility of the jobs.toString()Methods inherited from class PagedRequest
getCountLimit, getLimit, getOffset, isPagingActive, setCountLimit, setLimit, setOffset
-
Constructor Details
-
FindJobsRequest
public FindJobsRequest()
-
-
Method Details
-
builder
-
getCreatedBy
The ID of the user who created the searched job. -
getName
The name of the job to search for. -
getNameMatchMode
The match mode for the name. -
getStates
The list of states which the jobs should be searched for. -
getResults
The list of results which the jobs should be searched for. -
getTypes
The list of types of the jobs. -
getMaxVisibility
Deprecated.Ignored, use visible instead, this will be removed in the future.The maximum visibility of the job. Defaults to no limit on visibility. -
getVisible
The visibility of the jobs. Defaults to all jobs (both visible and non-visible). -
getSortOrder
The order of sorting. -
getSortField
The field that should be used as reference for sorting. -
setCreatedBy
The ID of the user who created the searched job. -
setName
The name of the job to search for. -
setNameMatchMode
The match mode for the name. -
setStates
The list of states which the jobs should be searched for. -
setResults
The list of results which the jobs should be searched for. -
setTypes
The list of types of the jobs. -
setMaxVisibility
Deprecated.Ignored, use visible instead, this will be removed in the future.The maximum visibility of the job. Defaults to no limit on visibility. -
setVisible
The visibility of the jobs. Defaults to all jobs (both visible and non-visible). -
setSortOrder
The order of sorting. -
setSortField
The field that should be used as reference for sorting. -
equals
- Overrides:
equalsin classPagedRequest
-
canEqual
- Overrides:
canEqualin classPagedRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classPagedRequest
-
toString
- Overrides:
toStringin classPagedRequest
-