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 thisJobthat 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 thisJobthat 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
JobTasks
-
getSuccessTasks
Retrieves the list of tasks in thisJobthat completed successfully.- Returns:
- List of
JobTasks
-
getErrorTasks
Retrieves the list of tasks in thisJobthat completed with errors or failed.- Returns:
- List of
JobTasks
-
getJobResult
JobResult getJobResult()Retrieves the job status, from which you can retrieve the number of tasks which failed or succeeded.- Returns:
JobResultobject
-
getSuccessTasks()andgetErrorTasks().