Class JobBinaryServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.sahara.internal.BaseSaharaServices
-
- org.openstack4j.openstack.sahara.internal.JobBinaryServiceImpl
-
- All Implemented Interfaces:
JobBinaryService,RestService
public class JobBinaryServiceImpl extends BaseSaharaServices implements JobBinaryService
Sahara Data Processing Operations- Author:
- ekasit.kijsipongse@nectec.or.th, siwat.pru@outlook.com
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description JobBinaryServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobBinarycreate(JobBinary jobBinary)Create a new job binaryActionResponsedelete(String JobBinaryId)Delete the specified job binaryJobBinaryget(String JobBinaryId)Get a job binary by IDPayload<InputStream>getData(String JobBinaryId)Retrieves data of specified job binary objectList<? extends JobBinary>list()List all job binaries-
Methods inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
delete, deleteWithResponse, get, getProvider, getServiceVersion, getWithResponse, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, putWithResponse, request, toList, uri
-
-
-
-
Method Detail
-
list
public List<? extends JobBinary> list()
List all job binaries- Specified by:
listin interfaceJobBinaryService- Returns:
- list of job binaries or empty
-
get
public JobBinary get(String JobBinaryId)
Get a job binary by ID- Specified by:
getin interfaceJobBinaryService- Parameters:
JobBinaryId- the job binary identifier- Returns:
- the job binary or null if not found
-
create
public JobBinary create(JobBinary jobBinary)
Create a new job binary- Specified by:
createin interfaceJobBinaryService- Parameters:
jobBinary- the job binary to create- Returns:
- the created job binary
-
delete
public ActionResponse delete(String JobBinaryId)
Delete the specified job binary- Specified by:
deletein interfaceJobBinaryService- Parameters:
JobBinaryId- the job binary identifier- Returns:
- the action response
-
getData
public Payload<InputStream> getData(String JobBinaryId)
Retrieves data of specified job binary object- Specified by:
getDatain interfaceJobBinaryService- Parameters:
JobBinaryId- the job binary identifier- Returns:
- Job Binary data
-
-