public interface JobService extends Service
ServiceLocator.locate(Class)
Modifier and Type | Method and Description |
---|---|
JobParameters |
newJobParameters(String jobName)
Get 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. |
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 parametersCopyright © Veeva Systems 2017–2018. All rights reserved.