Interface JobApi
public interface JobApi
Provides the job functionalities
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelJob
(CancelJobRequest request) Cancels given job.boolean
Returns true if a job with given ID exists.findJobs
(FindJobsRequest findRequest) Find the jobs with the given filter settings.Returns the job for the given ID.
-
Method Details
-
getJob
Returns the job for the given ID.- Parameters:
jobId
- the ID of the job- Returns:
- the job linked to the given ID
-
findJobs
@SecurityAuditMethod(resultFormatter=com.collibra.dgc.core.api.internal.security.audit.formatter.PagedResponseFormatter.class) PagedResponse<Job> findJobs(FindJobsRequest findRequest) Find the jobs with the given filter settings.- Parameters:
findRequest
- the parameter defining which jobs to return.- Returns:
- The found jobs.
-
cancelJob
Cancels given job. This method will return immediately and not wait until the job is actually stopped.- Parameters:
request
- the properties of this cancel request
-
exists
Returns true if a job with given ID exists.- Parameters:
jobId
- the ID of the job- Returns:
- true if a job with given ID exists,
false
otherwise
-