public interface JobItem
Job
.Modifier and Type | Method and Description |
---|---|
<T extends JobValue> |
getValue(String name,
Class<T> returnType)
Retrieves the value of a job item parameter.
|
<T> T |
getValue(String name,
JobValueType<T> valueType)
Retrieves the value of a job item parameter.
|
void |
setValue(String name,
Object value)
Sets the value of a job item parameter.
|
void setValue(String name, Object value)
JobInitContext.newJobInput(String)
to set the
job item parameter.name
- name of the parameter. Cannot be null.value
- new value to set on the parameter. Value must implement JobValue
or be one of the data types
specified in JobValueType
.<T> T getValue(String name, JobValueType<T> valueType)
T
- the job parameter value typename
- the name String used when setting a parameter. Cannot be null.valueType
- the type of value returned from the parameters<T extends JobValue> T getValue(String name, Class<T> returnType)
T
- type of object requested. Cannot be null.name
- the key String used when setting a parameter. Cannot be null.returnType
- type of object requested. Cannot be null.Copyright © Veeva Systems 2017–2020. All rights reserved.