org.jclouds.googlecomputeengine.predicates
Class NetworkFirewallPredicates

java.lang.Object
  extended by org.jclouds.googlecomputeengine.predicates.NetworkFirewallPredicates

public class NetworkFirewallPredicates
extends Object


Constructor Summary
NetworkFirewallPredicates()
           
 
Method Summary
static com.google.common.base.Predicate<Firewall> equalsIpPermission(org.jclouds.net.domain.IpPermission permission)
           
static com.google.common.base.Predicate<Firewall> hasPortRange(com.google.common.collect.Range<Integer> portRange)
           
static com.google.common.base.Predicate<Firewall> hasProtocol(org.jclouds.net.domain.IpProtocol protocol)
           
static com.google.common.base.Predicate<Firewall> hasSourceRange(String sourceRange)
           
static com.google.common.base.Predicate<Firewall> hasSourceTag(String sourceTag)
           
static com.google.common.base.Predicate<Firewall> providesIpPermission(org.jclouds.net.domain.IpPermission permission)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkFirewallPredicates

public NetworkFirewallPredicates()
Method Detail

hasProtocol

public static com.google.common.base.Predicate<Firewall> hasProtocol(org.jclouds.net.domain.IpProtocol protocol)

hasPortRange

public static com.google.common.base.Predicate<Firewall> hasPortRange(com.google.common.collect.Range<Integer> portRange)

hasSourceTag

public static com.google.common.base.Predicate<Firewall> hasSourceTag(String sourceTag)

hasSourceRange

public static com.google.common.base.Predicate<Firewall> hasSourceRange(String sourceRange)

equalsIpPermission

public static com.google.common.base.Predicate<Firewall> equalsIpPermission(org.jclouds.net.domain.IpPermission permission)

providesIpPermission

public static com.google.common.base.Predicate<Firewall> providesIpPermission(org.jclouds.net.domain.IpPermission permission)


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