public class Job extends JobDescriptor
Constructor and Description |
---|
Job(Job job)
Copy constructor
|
Job(String path,
String version)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Get the description of the job
|
Set<ItemSpecification> |
getInputs()
Get the set of inputs associated with this job
|
String |
getLogPath()
Get the log path for this job
|
String |
getLstPath()
Get the list path for this job
|
String |
getManifestPath()
Get the manifest path for this job
|
OutputFileSpec |
getOutputFileSpec()
Get the checkin specification to use for output files created by this job.
|
Set<ItemSpecification> |
getOutputs()
Get the set of outputs associated with this job
|
Set<JobParameter> |
getParameters()
Get the job parameters.
|
List<ItemSpecification> |
getPrograms()
Get the programs associated with this job.
|
int |
hashCode() |
void |
setDescription(String description)
Set the description of the job
|
void |
setInputs(Set<ItemSpecification> inputs)
Set the set of inputs associated with this job
|
void |
setLogPath(String logPath)
Set the log path for this job
|
void |
setLstPath(String lstPath)
Set the list path for this job
|
void |
setManifestPath(String manifestPath)
Set the manifest path for this job
|
void |
setOutputFileSpec(OutputFileSpec outputFileSpec)
Set the checkin specification to use for output files created by this job.
|
void |
setOutputs(Set<ItemSpecification> outputs)
Set the set of outputs associated with this job
|
void |
setParameters(Set<JobParameter> parameters)
Set the job parameters.
|
void |
setPrograms(List<ItemSpecification> programs)
Set the programs associated with this job.
|
String |
toString() |
getPath, getSourceLocation, getVersion, setSourceLocation
public Job(String path, String version)
path
- path of the jobversion
- version label for the jobpublic Job(Job job)
job
- the job to copypublic String getDescription()
public void setDescription(String description)
description
- the description to setpublic List<ItemSpecification> getPrograms()
public void setPrograms(List<ItemSpecification> programs)
programs
- the tasks to setpublic Set<ItemSpecification> getInputs()
public void setInputs(Set<ItemSpecification> inputs)
inputs
- the inputs to setpublic Set<ItemSpecification> getOutputs()
public void setOutputs(Set<ItemSpecification> outputs)
outputs
- the outputs to setpublic OutputFileSpec getOutputFileSpec()
public void setOutputFileSpec(OutputFileSpec outputFileSpec)
outputFileSpec
- the outputFileSpec to setpublic String getLogPath()
public void setLogPath(String logPath)
logPath
- the logPath to setpublic String getLstPath()
public void setLstPath(String lstPath)
lstPath
- the lstPath to setpublic String getManifestPath()
public void setManifestPath(String manifestPath)
manifestPath
- the manifestPath to setpublic Set<JobParameter> getParameters()
public void setParameters(Set<JobParameter> parameters)
parameters
- the parameters to setpublic int hashCode()
hashCode
in class JobDescriptor
public boolean equals(Object obj)
equals
in class JobDescriptor
public String toString()
toString
in class JobDescriptor
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA