Class ClusterEnabledFeaturesServiceImpl
- java.lang.Object
-
- org.ovirt.engine.sdk4.internal.services.ServiceImpl
-
- org.ovirt.engine.sdk4.internal.services.ClusterEnabledFeaturesServiceImpl
-
- All Implemented Interfaces:
Service
,ClusterEnabledFeaturesService
public class ClusterEnabledFeaturesServiceImpl extends ServiceImpl implements ClusterEnabledFeaturesService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ovirt.engine.sdk4.services.ClusterEnabledFeaturesService
ClusterEnabledFeaturesService.AddRequest, ClusterEnabledFeaturesService.AddResponse, ClusterEnabledFeaturesService.ListRequest, ClusterEnabledFeaturesService.ListResponse
-
-
Constructor Summary
Constructors Constructor Description ClusterEnabledFeaturesServiceImpl(HttpConnection connection, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterEnabledFeaturesService.AddRequest
add()
Enable an additional feature for a cluster.ClusterEnabledFeatureService
featureService(String id)
A reference to the service that provides information about a specific feature enabled for the cluster.ClusterEnabledFeaturesService.ListRequest
list()
Lists the additional features enabled for the cluster.Service
service(String path)
Service locator method, returns individual service on which the URI is dispatched.String
toString()
-
Methods inherited from class org.ovirt.engine.sdk4.internal.services.ServiceImpl
checkAction, checkFault, getConnection, getPath, throwError
-
-
-
-
Constructor Detail
-
ClusterEnabledFeaturesServiceImpl
public ClusterEnabledFeaturesServiceImpl(HttpConnection connection, String path)
-
-
Method Detail
-
add
public ClusterEnabledFeaturesService.AddRequest add()
Description copied from interface:ClusterEnabledFeaturesService
Enable an additional feature for a cluster. For example, to enable a feature `456` on cluster `123`, send a request like this: [source] ---- POST /ovirt-engine/api/clusters/123/enabledfeatures ---- The request body should look like this: [source,xml] -------- - Specified by:
add
in interfaceClusterEnabledFeaturesService
-
list
public ClusterEnabledFeaturesService.ListRequest list()
Description copied from interface:ClusterEnabledFeaturesService
Lists the additional features enabled for the cluster. For example, to get the features enabled for cluster `123` send a request like this: [source] ---- GET /ovirt-engine/api/clusters/123/enabledfeatures ---- This will return a list of features: [source,xml] ----test_feature - Specified by:
list
in interfaceClusterEnabledFeaturesService
-
featureService
public ClusterEnabledFeatureService featureService(String id)
Description copied from interface:ClusterEnabledFeaturesService
A reference to the service that provides information about a specific feature enabled for the cluster.- Specified by:
featureService
in interfaceClusterEnabledFeaturesService
-
service
public Service service(String path)
Description copied from interface:ClusterEnabledFeaturesService
Service locator method, returns individual service on which the URI is dispatched.- Specified by:
service
in interfaceClusterEnabledFeaturesService
-
-