org.jclouds.cloudstack.compute.functions
Class IngressRuleToIpPermission

java.lang.Object
  extended by 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
           
 
Constructor Summary
IngressRuleToIpPermission()
           
 
Method Summary
 org.jclouds.net.domain.IpPermission apply(IngressRule rule)
           
 
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
 

Field Detail

logger

@Named(value="jclouds.compute")
protected org.jclouds.logging.Logger logger
Constructor Detail

IngressRuleToIpPermission

public IngressRuleToIpPermission()
Method Detail

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.