public interface JobInitContext extends JobContext
Job.init(JobInitContext)
.Modifier and Type | Method and Description |
---|---|
JobInputSupplier |
newJobInput(List<JobItem> items)
Allows a List of
JobItem s to be used as input to a job. |
JobInputSupplier |
newJobInput(String query)
Allows a VQL query to be used as a Job input.
|
JobItem |
newJobItem()
Retrieves a new
JobItem object. |
void |
setJobInitParameter(String name,
Object value)
Sets the name and value of a job parameter.
|
getJobId, getJobInitParameter, getJobInitParameter, getJobLogger, getJobParameter, getJobParameter
void setJobInitParameter(String name, Object value)
name
- name of the parameter for which a value will be setvalue
- new value to set on the parameter. Value must be one of the data types specified in
JobValueType
Or JobValue
JobInputSupplier newJobInput(String query)
SELECT
must contain one or more fields of the following types:
Job.init(JobInitContext)
method completes. If there are
any issues encountered in VQL execution, the job will be marked as ERROR_ENCOUNTERED
and errors are
logged to the job log file.query
- VQL query to use as an inputJobInputSupplier newJobInput(List<JobItem> items)
JobItem
s to be used as input to a job.items
- specifies the List of items to use as inputJobItem newJobItem()
JobItem
object.Copyright © Veeva Systems 2017–2020. All rights reserved.