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 ClusterPolicyget(String clusterID, String policyID)returns details of aClusterPolicy.List<? extends ClusterPolicy>list(String clusterID)Gets a list of currently existingClusterPolicys.-
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:SenlinClusterPolicyServiceGets a list of currently existingClusterPolicys.- Specified by:
listin interfaceSenlinClusterPolicyService- Returns:
- the list of
ClusterPolicys
-
get
public ClusterPolicy get(String clusterID, String policyID)
Description copied from interface:SenlinClusterPolicyServicereturns details of aClusterPolicy.- Specified by:
getin interfaceSenlinClusterPolicyService- Parameters:
clusterID- Id of ClusterpolicyID- Id ofClusterPolicy- Returns:
- ClusterPolicy
-
-