|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.vcloud.director.v1_5.predicates.ReferencePredicates
public class ReferencePredicates
Predicates for working with Reference collections.
| Constructor Summary | |
|---|---|
ReferencePredicates()
|
|
| Method Summary | ||
|---|---|---|
static
|
hrefEquals(URI href)
Matches References with the given URI. |
|
static
|
nameEquals(String name)
Matches References with the given name. |
|
static
|
nameIn(Iterable<String> names)
Matches References with names in the given collection. |
|
static
|
nameStartsWith(String prefix)
Matches References with names starting with the given prefix. |
|
static
|
typeEquals(String type)
Matches References of the given type. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReferencePredicates()
| Method Detail |
|---|
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 object
public 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 object
public 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 object
public 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#CATALOG
VCloudDirectorMediaTypepublic static <T extends Reference> com.google.common.base.Predicate<T> hrefEquals(URI href)
References with the given URI.
T - type of the reference, for example Linkhref - the URI of the reference
VCloudDirectorMediaType
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||