public class JobDescriptor extends Object implements Serializable
Constructor and Description |
---|
JobDescriptor(String path,
String version)
Constructor
|
JobDescriptor(String path,
String version,
SourceLocation sourceLocation)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getPath()
Get the path of the job
|
SourceLocation |
getSourceLocation()
Get the source location in which this job lives
|
String |
getVersion()
Get the version label for this job
|
int |
hashCode() |
void |
setSourceLocation(SourceLocation sourceLocation)
Set the source location for this job
|
String |
toString() |
public JobDescriptor(String path, String version)
path
- path of the jobversion
- version label for the jobpublic JobDescriptor(String path, String version, SourceLocation sourceLocation)
path
- path of the jobversion
- version label for the jobsourceLocation
- whether the job lives in the repository or workspacepublic String getPath()
public String getVersion()
public SourceLocation getSourceLocation()
public void setSourceLocation(SourceLocation sourceLocation)
sourceLocation
- Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA