Class FindJobsRequest

  • All Implemented Interfaces:
    Serializable

    public class FindJobsRequest
    extends PagedRequest
    Contains all search criteria for jobs.
    See Also:
    Serialized Form
    • Constructor Detail

      • FindJobsRequest

        public FindJobsRequest()
    • Method Detail

      • getCreatedBy

        public UUID getCreatedBy()
        The ID of the user who created the searched job.
      • getName

        public String getName()
        The name of the job to search for.
      • getNameMatchMode

        public MatchMode getNameMatchMode()
        The match mode for the name.
      • getStates

        public List<JobState> getStates()
        The list of states which the jobs should be searched for.
      • getResults

        public List<JobResult> getResults()
        The list of results which the jobs should be searched for.
      • getTypes

        public List<String> getTypes()
        The list of types of the jobs.
      • getMaxVisibility

        public int getMaxVisibility()
        The maximum visibility of the job. Defaults to no limit on visibility.
      • getVisible

        public Boolean getVisible()
        The visibility of the jobs. Defaults to all jobs (both visible and non-visible).
      • getSortOrder

        public SortOrder getSortOrder()
        The order of sorting.
      • setCreatedBy

        public void setCreatedBy​(UUID createdBy)
        The ID of the user who created the searched job.
      • setName

        public void setName​(String name)
        The name of the job to search for.
      • setNameMatchMode

        public void setNameMatchMode​(MatchMode nameMatchMode)
        The match mode for the name.
      • setStates

        public void setStates​(List<JobState> states)
        The list of states which the jobs should be searched for.
      • setResults

        public void setResults​(List<JobResult> results)
        The list of results which the jobs should be searched for.
      • setTypes

        public void setTypes​(List<String> types)
        The list of types of the jobs.
      • setMaxVisibility

        public void setMaxVisibility​(int maxVisibility)
        The maximum visibility of the job. Defaults to no limit on visibility.
      • setVisible

        public void setVisible​(Boolean visible)
        The visibility of the jobs. Defaults to all jobs (both visible and non-visible).
      • setSortOrder

        public void setSortOrder​(SortOrder sortOrder)
        The order of sorting.
      • setSortField

        public void setSortField​(FindJobsRequest.SortField sortField)
        The field that should be used as reference for sorting.
      • canEqual

        protected boolean canEqual​(Object other)
        Overrides:
        canEqual in class PagedRequest