public class ScheduleJobInfo extends Object implements Schedulable, Serializable
Constructor and Description |
---|
ScheduleJobInfo()
The default constructor.
|
ScheduleJobInfo(Job job)
The constructor that specifies a job.
|
ScheduleJobInfo(Job job,
List<ParameterValue> parameterValues)
The constructor that specifies the job and parameter values to use when the job is submitted.
|
ScheduleJobInfo(String path,
SourceLocation sourceLocation)
The constructor that specifies the job path and source location.
|
ScheduleJobInfo(String path,
String version,
SourceLocation sourceLocation)
The constructor that specifies the job path, version and source location.
|
ScheduleJobInfo(String path,
String version,
SourceLocation sourceLocation,
List<ParameterValue> parameterValues)
The constructor that specifies the job path, job version, source location and override job parameter values.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<ParameterValue> |
getParameterValues()
Gets the job parameter values.
|
String |
getPath()
Gets the path of the job to run.
|
SourceLocation |
getSourceLocation()
Gets the source location of the job.
|
String |
getVersion()
Gets the version of the job.
|
int |
hashCode() |
void |
setJob(Job job)
Sets the job to run.
|
void |
setParameterValues(List<ParameterValue> parameterValues)
Sets the job parameterValues.
|
void |
setPath(String path)
Sets the path of the job to run.
|
void |
setSourceLocation(SourceLocation sourceLocation)
Sets the source location of the job.
|
void |
setVersion(String version)
Sets the version of this job.
|
String |
toString() |
public ScheduleJobInfo()
public ScheduleJobInfo(String path, SourceLocation sourceLocation)
path
- The path of the job to schedule.sourceLocation
- The source location of the job.public ScheduleJobInfo(String path, String version, SourceLocation sourceLocation)
path
- The path of the job to schedule.version
- The version of the job to schedule.sourceLocation
- The source location of the job.public ScheduleJobInfo(Job job)
job
- The job to schedule.public ScheduleJobInfo(Job job, List<ParameterValue> parameterValues)
job
- The job to schedule.parameterValues
- The parameter values that will override the default parameter values in the job.public ScheduleJobInfo(String path, String version, SourceLocation sourceLocation, List<ParameterValue> parameterValues)
path
- The path of the job to schedule.version
- The version of the job.sourceLocation
- The source location of the job.parameterValues
- The parameter values that will override the default parameter values in the job.public void setJob(Job job)
job
- The job to set.public List<ParameterValue> getParameterValues()
public void setParameterValues(List<ParameterValue> parameterValues)
parameterValues
- The parameter values.public String getPath()
public void setPath(String path)
path
- The path of the job.public String getVersion()
public void setVersion(String version)
version
- The version of the job.public SourceLocation getSourceLocation()
public void setSourceLocation(SourceLocation sourceLocation)
sourceLocation
- The source location of the job.<i>Copyright (c) 2021, SAS Institute Inc., Cary, NC, USA</i>