org.openstack4j.api.senlin.SenlinPolicyTypeService Maven / Gradle / Ivy
package org.openstack4j.api.senlin;
import org.openstack4j.model.senlin.PolicyType;
import java.util.List;
/**
* This interface defines all methods for the manipulation of PolicyType
*
* @author lion
*
*/
public interface SenlinPolicyTypeService {
/**
* Gets a list of currently existing {@link PolicyType}s.
*
* @return the list of {@link PolicyType}s
*/
List list();
/**
* returns details of a {@link PolicyType}.
*
* @param policyTypeName
* Name of {@link PolicyType}
* @return PolicyType
*/
PolicyType get(String policyTypeName);
}