org.jclouds.openstack.nova.v2_0.predicates
Class SecurityGroupPredicates
java.lang.Object
org.jclouds.openstack.nova.v2_0.predicates.SecurityGroupPredicates
public class SecurityGroupPredicates
- extends Object
Predicates handy when working with SecurityGroups
- Author:
- Adrian Cole
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityGroupPredicates
public SecurityGroupPredicates()
nameEquals
public static com.google.common.base.Predicate<SecurityGroup> nameEquals(String name)
- matches name of the given security group
- Parameters:
name -
- Returns:
- predicate that matches name
nameMatches
public static com.google.common.base.Predicate<SecurityGroup> nameMatches(com.google.common.base.Predicate<String> name)
- matches name of the given security group
- Parameters:
name -
- Returns:
- predicate that matches name
Copyright © 2009-2012 jclouds. All Rights Reserved.