com.sas.hls.job
Class Job

java.lang.Object
  extended by com.sas.hls.job.JobDescriptor
      extended by com.sas.hls.job.Job
All Implemented Interfaces:
Serializable, Cloneable

public class Job
extends JobDescriptor
implements Cloneable

The client representation of a job

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sas.hls.job.JobDescriptor
JobDescriptor.Tree
 
Constructor Summary
Job(Job job)
          Copy constructor
Job(String path, String version)
          Constructor
 
Method Summary
 String getDescription()
          Get the description of the job
 Set<ResourceSpecification> 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
 NewFileCheckinSpecification getOutputFileCheckinSpec()
          Get the checkin specification to use for new files created by this job.
 Set<ResourceSpecification> getOutputs()
          Get the set of outputs associated with this job
 Set<JobParameter> getParameters()
          Get the job parameters.
 String getReleaseVersion()
          Get the release version of this job
 List<ResourceSpecification> getTasks()
          Get the tasks associated with this job.
 void setDescription(String description)
          Set the description of the job
 void setInputs(Set<ResourceSpecification> 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 setOutputFileCheckinSpec(NewFileCheckinSpecification outputFileCheckinSpec)
          Set the checkin specification to use for new files created by this job.
 void setOutputs(Set<ResourceSpecification> outputs)
          Set the set of outputs associated with this job
 void setParameters(Set<JobParameter> parameters)
          Set the job parameters.
 void setTasks(List<ResourceSpecification> tasks)
          Set the tasks associated with this job.
 
Methods inherited from class com.sas.hls.job.JobDescriptor
equals, getPath, getTree, getVersion, hashCode, setTree, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Job

public Job(String path,
           String version)
Constructor

Parameters:
path - path of the job
version - version label for the job

Job

public Job(Job job)
Copy constructor

Parameters:
job - the job to copy
Method Detail

getDescription

public String getDescription()
Get the description of the job

Returns:
the description

setDescription

public void setDescription(String description)
Set the description of the job

Parameters:
description - the description to set

getTasks

public List<ResourceSpecification> getTasks()
Get the tasks associated with this job.

Returns:
the tasks

setTasks

public void setTasks(List<ResourceSpecification> tasks)
Set the tasks associated with this job.

Parameters:
tasks - the tasks to set

getInputs

public Set<ResourceSpecification> getInputs()
Get the set of inputs associated with this job

Returns:
the inputs

setInputs

public void setInputs(Set<ResourceSpecification> inputs)
Set the set of inputs associated with this job

Parameters:
inputs - the inputs to set

getOutputs

public Set<ResourceSpecification> getOutputs()
Get the set of outputs associated with this job

Returns:
the outputs

setOutputs

public void setOutputs(Set<ResourceSpecification> outputs)
Set the set of outputs associated with this job

Parameters:
outputs - the outputs to set

getOutputFileCheckinSpec

public NewFileCheckinSpecification getOutputFileCheckinSpec()
Get the checkin specification to use for new files created by this job.

Returns:
the outputFileCheckinSpec

setOutputFileCheckinSpec

public void setOutputFileCheckinSpec(NewFileCheckinSpecification outputFileCheckinSpec)
Set the checkin specification to use for new files created by this job.

Parameters:
outputFileCheckinSpec - the outputFileCheckinSpec to set

getReleaseVersion

public String getReleaseVersion()
Get the release version of this job

Returns:
the releaseVersion

getLogPath

public String getLogPath()
Get the log path for this job

Returns:
the logPath

setLogPath

public void setLogPath(String logPath)
Set the log path for this job

Parameters:
logPath - the logPath to set

getLstPath

public String getLstPath()
Get the list path for this job

Returns:
the lstPath

setLstPath

public void setLstPath(String lstPath)
Set the list path for this job

Parameters:
lstPath - the lstPath to set

getManifestPath

public String getManifestPath()
Get the manifest path for this job

Returns:
the manifestPath

setManifestPath

public void setManifestPath(String manifestPath)
Set the manifest path for this job

Parameters:
manifestPath - the manifestPath to set

getParameters

public Set<JobParameter> getParameters()
Get the job parameters.

Returns:
the parameters

setParameters

public void setParameters(Set<JobParameter> parameters)
Set the job parameters.

Parameters:
parameters - the parameters to set


Copyright (c) 2013, SAS Institute Inc., Cary, NC, USA