Package com.veeva.vault.sdk.api.job
Interface JobCompletionContext
- All Superinterfaces:
JobContext
Context given to
Job
's complete methods.-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the list of tasks in thisJob
that completed with errors or failed.Retrieves the job status, from which you can retrieve the number of tasks which failed or succeeded.Retrieves the list of tasks in thisJob
that completed successfully.getTasks()
Deprecated.Methods inherited from interface com.veeva.vault.sdk.api.job.JobContext
getJobId, getJobInitParameter, getJobInitParameter, getJobLogger, getJobName, getJobOwner, getJobParameter, getJobParameter
-
Method Details
-
getTasks
Deprecated.as of 22R2.2, replaced bygetSuccessTasks()
andgetErrorTasks()
.
Retrieves the list of tasks in thisJob
.- Returns:
- List of
JobTask
s
-
getSuccessTasks
Retrieves the list of tasks in thisJob
that completed successfully.- Returns:
- List of
JobTask
s
-
getErrorTasks
Retrieves the list of tasks in thisJob
that completed with errors or failed.- Returns:
- List of
JobTask
s
-
getJobResult
JobResult getJobResult()Retrieves the job status, from which you can retrieve the number of tasks which failed or succeeded.- Returns:
JobResult
object
-
getSuccessTasks()
andgetErrorTasks()
.