Modifier and Type | Method and Description |
---|---|
JobParameters |
newJobParameters(String jobName)
Retrieves a new
JobParameters object for a specific job to set the parameters of the job. |
void |
run(JobParameters jobParameters)
Run a job as specified in a
JobParameters object. |
JobRunResult |
runJob(JobParameters jobParameters)
Run a job as specified in a
JobParameters object, and also returns a JobRunResult object. |
JobParameters newJobParameters(String jobName)
JobParameters
object for a specific job to set the parameters of the job.
For example, the value record_user_action__v
would be used to create job parameters for the job that will
run a user action for a collection of Vault records.
jobName
- name of a Vault jobJobParameters
object for setting parameters for the specified jobvoid run(JobParameters jobParameters)
JobParameters
object.
Job parameters should be set by using JobParameters.setValue(String, Object)
before running a job.
jobParameters
- a JobParameters
object that contains the job name and parametersJobRunResult runJob(JobParameters jobParameters)
JobParameters
object, and also returns a JobRunResult
object.
Job parameters should be set by using JobParameters.setValue(String, Object)
before running a job.
jobParameters
- a JobParameters
object that contains the job name and parametersCopyright © Veeva Systems 2017–2021. All rights reserved.