Package org.openstack4j.api.sahara
Interface JobService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
JobServiceImpl
public interface JobService extends RestService
Sahara Data Processing Operations- Author:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Jobcreate(Job jobBinary)Create a new jobActionResponsedelete(String JobId)Delete the specified jobJobget(String JobId)Get a job by IDJobConfigHintgetConfigHint(String type)Get Job Configuration HintsList<? extends Job>list()List all jobs
-
-
-
Method Detail
-
get
Job get(String JobId)
Get a job by ID- Parameters:
JobId- the job identifier- Returns:
- the job or null if not found
-
create
Job create(Job jobBinary)
Create a new job- Parameters:
jobBinary- the job to create- Returns:
- the created job
-
delete
ActionResponse delete(String JobId)
Delete the specified job- Parameters:
JobId- the job identifier- Returns:
- the action response
-
getConfigHint
JobConfigHint getConfigHint(String type)
Get Job Configuration Hints- Parameters:
type- the job type- Returns:
- the job configuration hints
-
-