org.jclouds.googlecomputeengine.compute.functions
Class FirewallToIpPermission

java.lang.Object
  extended by org.jclouds.googlecomputeengine.compute.functions.FirewallToIpPermission
All Implemented Interfaces:
com.google.common.base.Function<Firewall,Iterable<org.jclouds.net.domain.IpPermission>>

public class FirewallToIpPermission
extends Object
implements com.google.common.base.Function<Firewall,Iterable<org.jclouds.net.domain.IpPermission>>

A function for transforming a GCE-specific Firewall into a generic IpPermission object.

Author:
Andrew Bayer

Field Summary
protected  org.jclouds.logging.Logger logger
           
 
Constructor Summary
FirewallToIpPermission()
           
 
Method Summary
 Iterable<org.jclouds.net.domain.IpPermission> apply(Firewall fw)
           
 
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

FirewallToIpPermission

public FirewallToIpPermission()
Method Detail

apply

public Iterable<org.jclouds.net.domain.IpPermission> apply(Firewall fw)
Specified by:
apply in interface com.google.common.base.Function<Firewall,Iterable<org.jclouds.net.domain.IpPermission>>


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.