| Constructor and Description | 
|---|
ReferencePredicates()  | 
| Modifier and Type | Method and Description | 
|---|---|
static <T extends Reference>  | 
hrefEquals(URI href)
 | 
static <T extends Reference>  | 
nameEquals(String name)
Matches  
References with the given name. | 
static <T extends Reference>  | 
nameIn(Iterable<String> names)
Matches  
References with names in the given collection. | 
static <T extends Reference>  | 
nameStartsWith(String prefix)
Matches  
References with names starting with the given prefix. | 
static <T extends Reference>  | 
typeEquals(String type)
Matches  
References of the given type. | 
public static <T extends Reference> com.google.common.base.Predicate<T> nameEquals(String name)
References with the given name.T - type of the reference, for example Linkname - value of the name attribute of the referenced objectpublic static <T extends Reference> com.google.common.base.Predicate<T> nameStartsWith(String prefix)
References with names starting with the given prefix.T - type of the reference, for example Linkname - prefix of the name attribute of the referenced objectpublic static <T extends Reference> com.google.common.base.Predicate<T> nameIn(Iterable<String> names)
References with names in the given collection.T - type of the reference, for example Linknames - collection of values for the name attribute of the referenced objectpublic static <T extends Reference> com.google.common.base.Predicate<T> typeEquals(String type)
References of the given type.T - type of the reference, for example Linktype - the media type string of the referenced object, for example VCloudDirectorMediaType#CATALOGVCloudDirectorMediaTypeCopyright © 2009-2013 jclouds. All Rights Reserved.