Class SenlinPolicyTypeServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.senlin.internal.BaseSenlinServices
-
- org.openstack4j.openstack.senlin.internal.SenlinPolicyTypeServiceImpl
-
- All Implemented Interfaces:
SenlinPolicyTypeService
public class SenlinPolicyTypeServiceImpl extends BaseSenlinServices implements SenlinPolicyTypeService
This class contains getters for all implementation of the available policy-type 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 SenlinPolicyTypeServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyTypeget(String policyType)returns details of aPolicyType.List<? extends PolicyType>list()Gets a list of currently existingPolicyTypes.-
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 PolicyType> list()
Description copied from interface:SenlinPolicyTypeServiceGets a list of currently existingPolicyTypes.- Specified by:
listin interfaceSenlinPolicyTypeService- Returns:
- the list of
PolicyTypes
-
get
public PolicyType get(String policyType)
Description copied from interface:SenlinPolicyTypeServicereturns details of aPolicyType.- Specified by:
getin interfaceSenlinPolicyTypeService- Parameters:
policyType- Name ofPolicyType- Returns:
- PolicyType
-
-