org.jclouds.cloudstack.compute.functions
Class IngressRuleToIpPermission
java.lang.Object
org.jclouds.cloudstack.compute.functions.IngressRuleToIpPermission
- All Implemented Interfaces:
- com.google.common.base.Function<IngressRule,org.jclouds.net.domain.IpPermission>
public class IngressRuleToIpPermission
- extends Object
- implements com.google.common.base.Function<IngressRule,org.jclouds.net.domain.IpPermission>
A function for transforming a CloudStack-specific IngressRule into a generic
IpPermission object.
|
Field Summary |
protected org.jclouds.logging.Logger |
logger
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Function |
equals |
logger
@Named(value="jclouds.compute")
protected org.jclouds.logging.Logger logger
IngressRuleToIpPermission
public IngressRuleToIpPermission()
apply
public org.jclouds.net.domain.IpPermission apply(IngressRule rule)
- Specified by:
apply in interface com.google.common.base.Function<IngressRule,org.jclouds.net.domain.IpPermission>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.