public class LinkPredicates extends Object
Constructor and Description |
---|
LinkPredicates() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<Link> |
hrefEquals(URI href)
matches links of the given href
|
static com.google.common.base.Predicate<Link> |
relationEquals(Link.Relation rel)
matches links of the given relation
|
static com.google.common.base.Predicate<Link> |
typeEquals(String type)
matches links of the given type
|
public static com.google.common.base.Predicate<Link> relationEquals(Link.Relation rel)
rel
- relation of the linkpublic static com.google.common.base.Predicate<Link> hrefEquals(URI href)
href
- Copyright © 2009-2013 jclouds. All Rights Reserved.