Class HostStorageServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.HostStorageServiceImpl
-
- All Implemented Interfaces:
Service
,HostStorageService
public class HostStorageServiceImpl extends ServiceImpl implements HostStorageService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.HostStorageService
HostStorageService.ListRequest, HostStorageService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description HostStorageServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostStorageService.ListRequest
list()
Get list of storages.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.StorageService
storageService(String id)
Reference to a service managing the storage.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
HostStorageServiceImpl
public HostStorageServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
list
public HostStorageService.ListRequest list()
Description copied from interface:HostStorageService
Get list of storages. [source] ---- GET /ovirt-engine/api/hosts/123/storage ---- The XML response you get will be like this one: [source,xml] ----... ...- Specified by:
list
in interfaceHostStorageService
-
storageService
public StorageService storageService(String id)
Description copied from interface:HostStorageService
Reference to a service managing the storage.- Specified by:
storageService
in interfaceHostStorageService
-
service
public Service service(String path)
Description copied from interface:HostStorageService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceHostStorageService
-
-