Class GetJobRequest

    • Constructor Detail

      • GetJobRequest

        public GetJobRequest​(java.lang.String... jobIds)
        Get the specified Job configurations via their unique jobIds
        Parameters:
        jobIds - must not contain any null values
    • Method Detail

      • getAllJobsRequest

        public static GetJobRequest getAllJobsRequest()
        Helper method to create a query that will get ALL jobs
        Returns:
        new GetJobRequest object searching for the jobId "_all"
      • getJobIds

        public java.util.List<java.lang.String> getJobIds()
        All the jobIds for which to get configuration information
      • setAllowNoJobs

        public void setAllowNoJobs​(boolean allowNoJobs)
        Whether to ignore if a wildcard expression matches no jobs.
        Parameters:
        allowNoJobs - If this is false, then an error is returned when a wildcard (or _all) does not match any jobs
      • getAllowNoJobs

        public java.lang.Boolean getAllowNoJobs()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object