Package | Description |
---|---|
com.sas.hls.job |
Provides the classes needed to create, update, and get jobs as well as execute them and get their status
|
Modifier and Type | Method and Description |
---|---|
Job |
JobService.createJobInWorkspace(CreateJobInfo jobInfo)
Creates job in workspace based on information specified on CreateJobInfo
|
Job |
JobService.createJobInWorkspace(String parentPath,
String jobName,
List<ResourceSpecification> tasks,
Set<JobParameter> parameters,
boolean createParents)
Creates a job in the current user's workspace while optionally being able to specify tasks and parameters.
|
Job |
JobService.createJobInWorkspaceAndRepository(CreateJobInfo jobInfo,
NewFileCheckinSpecification jobCheckinSpec)
Creates job in workspace and checks it into the repository
|
Job |
JobService.getJobInRepository(String path,
String version)
Gets the job from the specified path in the repository
|
Job |
JobService.getJobInWorkspace(String path)
Gets the job from the specified path in the workspace
|
Job |
JobService.updateJobInRepository(Job job,
ResourceCheckinSpecification checkinSpec)
Updates the job in the repository with information on the specified Job
|
Job |
JobService.updateJobInWorkspace(Job job)
Updates the job in the workspace with information on the specified Job
|
Modifier and Type | Method and Description |
---|---|
boolean |
JobService.getRunAsOwner(Job job)
Get the flag that defines whether the repository job will run as the owner.
|
void |
JobService.setRunAsOwner(Job job,
boolean value)
Sets if the repository job will run as the owner.
|
Job |
JobService.updateJobInRepository(Job job,
ResourceCheckinSpecification checkinSpec)
Updates the job in the repository with information on the specified Job
|
Job |
JobService.updateJobInWorkspace(Job job)
Updates the job in the workspace with information on the specified Job
|
Constructor and Description |
---|
Job(Job job)
Copy constructor
|
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA