public interface JobParameters
Modifier and Type | Method and Description |
---|---|
String |
getJobName()
Gets the name of the job specified in a
JobParameters object. |
void |
setJobOwner(RequestContextUserType userType)
Sets the job owner.
|
void |
setJobRunTime(ZonedDateTime startTime)
Sets the job start time.
|
void |
setJobTitle(String jobTitle)
Sets the job title.
|
void |
setValue(String name,
Object value)
Sets the value of a job parameter.
|
void setValue(String name, Object value)
name
parameter
may require the value
parameter to be a specific data type.name
- name of the job parameter. Cannot be null.value
- new value to set on the job parameter. Cannot be null.String getJobName()
JobParameters
object. The job name is set by
JobService.newJobParameters(String)
.JobParameters
objectvoid setJobRunTime(ZonedDateTime startTime)
startTime
- specifies the job start timevoid setJobTitle(String jobTitle)
jobTitle
- name of the job title.void setJobOwner(RequestContextUserType userType)
RequestContextUserType
. By default, the user who
starts the job is the job owner.userType
- request context user type of the desired job owner user (e.g. RequestContextUserType.INITIATING_USER)Copyright © Veeva Systems 2017–2023. All rights reserved.