Class SenlinClusterPolicyServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.senlin.internal.BaseSenlinServices
-
- org.openstack4j.openstack.senlin.internal.SenlinClusterPolicyServiceImpl
-
- All Implemented Interfaces:
SenlinClusterPolicyService
public class SenlinClusterPolicyServiceImpl extends BaseSenlinServices implements SenlinClusterPolicyService
This class contains getters for all implementation of the available cluster services- Author:
- lion
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description SenlinClusterPolicyServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterPolicy
get(String clusterID, String policyID)
returns details of aClusterPolicy
.List<? extends ClusterPolicy>
list(String clusterID)
Gets a list of currently existingClusterPolicy
s.-
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 ClusterPolicy> list(String clusterID)
Description copied from interface:SenlinClusterPolicyService
Gets a list of currently existingClusterPolicy
s.- Specified by:
list
in interfaceSenlinClusterPolicyService
- Returns:
- the list of
ClusterPolicy
s
-
get
public ClusterPolicy get(String clusterID, String policyID)
Description copied from interface:SenlinClusterPolicyService
returns details of aClusterPolicy
.- Specified by:
get
in interfaceSenlinClusterPolicyService
- Parameters:
clusterID
- Id of ClusterpolicyID
- Id ofClusterPolicy
- Returns:
- ClusterPolicy
-
-