public class JobDescriptor extends Object implements Serializable
Constructor and Description |
---|
JobDescriptor(String path,
String version)
The constructor.
|
JobDescriptor(String path,
String version,
SourceLocation sourceLocation)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getPath()
Gets the path of the job.
|
SourceLocation |
getSourceLocation()
Gets the source location of the job.
|
String |
getVersion()
Gets the version of the job.
|
int |
hashCode() |
void |
setSourceLocation(SourceLocation sourceLocation)
Sets the source location for the job
|
String |
toString() |
public JobDescriptor(String path, String version)
path
- The path of the job.version
- The version label for the job.public JobDescriptor(String path, String version, SourceLocation sourceLocation)
path
- The path of the job.version
- The version label for the job.sourceLocation
- The location of the job: the repository or the workspace.public String getPath()
public String getVersion()
public SourceLocation getSourceLocation()
public void setSourceLocation(SourceLocation sourceLocation)
sourceLocation
- The source location for the job.Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA