org.jclouds.cloudstack.predicates
Class PublicIPAddressPredicates

java.lang.Object
  extended by org.jclouds.cloudstack.predicates.PublicIPAddressPredicates

public class PublicIPAddressPredicates
extends Object

Author:
Adrian Cole

Nested Class Summary
static class PublicIPAddressPredicates.AssociatedWithNetwork
           
static class PublicIPAddressPredicates.Available
           
 
Constructor Summary
PublicIPAddressPredicates()
           
 
Method Summary
static com.google.common.base.Predicate<PublicIPAddress> any()
           
static com.google.common.base.Predicate<PublicIPAddress> associatedWithNetwork(long networkId)
           
static com.google.common.base.Predicate<PublicIPAddress> available()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicIPAddressPredicates

public PublicIPAddressPredicates()
Method Detail

available

public static com.google.common.base.Predicate<PublicIPAddress> available()
Returns:
true, if the public ip address is not assigned to a VM or NAT rule

associatedWithNetwork

public static com.google.common.base.Predicate<PublicIPAddress> associatedWithNetwork(long networkId)
Returns:
true, if the public ip address is associated with the specified network

any

public static com.google.common.base.Predicate<PublicIPAddress> any()
Returns:
always returns true.


Copyright © 2009-2012 jclouds. All Rights Reserved.