org.jclouds.vcloud.director.v1_5.predicates
Class LinkPredicates
java.lang.Object
org.jclouds.vcloud.director.v1_5.predicates.LinkPredicates
public class LinkPredicates
- extends Object
Predicates handy when working with Links
- Author:
- Adrian Cole
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinkPredicates
public LinkPredicates()
relEquals
public static com.google.common.base.Predicate<Link> relEquals(String rel)
- matches links of the given relation
- Parameters:
rel - from context.getApi().getCurrentSession().getOrg().getLinks()
- Returns:
- predicate that will match links of the given rel
relEquals
public static com.google.common.base.Predicate<Link> relEquals(Link.Rel rel)
- See Also:
relEquals(String)
nameEquals
public static com.google.common.base.Predicate<Link> nameEquals(String name)
- See Also:
ReferenceTypePredicates#nameEquals
typeEquals
public static com.google.common.base.Predicate<Link> typeEquals(String type)
- See Also:
ReferenceTypePredicates#typeEquals
Copyright © 2009-2012 jclouds. All Rights Reserved.