Class IngressRuleToIpPermission
- java.lang.Object
-
- org.jclouds.cloudstack.compute.functions.IngressRuleToIpPermission
-
- All Implemented Interfaces:
com.google.common.base.Function<IngressRule,IpPermission>
,Function<IngressRule,IpPermission>
public class IngressRuleToIpPermission extends Object implements com.google.common.base.Function<IngressRule,IpPermission>
A function for transforming a CloudStack-specific IngressRule into a generic IpPermission object.
-
-
Constructor Summary
Constructors Constructor Description IngressRuleToIpPermission()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpPermission
apply(IngressRule rule)
-
-
-
Field Detail
-
logger
@Named("jclouds.compute") protected Logger logger
-
-
Method Detail
-
apply
public IpPermission apply(IngressRule rule)
- Specified by:
apply
in interfacecom.google.common.base.Function<IngressRule,IpPermission>
- Specified by:
apply
in interfaceFunction<IngressRule,IpPermission>
-
-