|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.providers.ProviderPredicates
public class ProviderPredicates
Container for provider filters (predicates).
| Constructor Summary | |
|---|---|
ProviderPredicates()
|
|
| Method Summary | |
|---|---|
static com.google.common.base.Predicate<ProviderMetadata> |
all()
Returns all providers available to jclouds regardless of type. |
static com.google.common.base.Predicate<ProviderMetadata> |
boundedByIso3166Code(String iso3166Code)
Returns the providers that are bound to the same location as the given ISO 3166 code. |
static com.google.common.base.Predicate<ProviderMetadata> |
id(String id)
Returns all providers with the given id. |
static com.google.common.base.Predicate<ProviderMetadata> |
intersectingIso3166Code(ProviderMetadata refProviderMetadata)
Return all providers that have at least one ISO 3166 code in common with the given provider metadata. |
static com.google.common.base.Predicate<ProviderMetadata> |
type(String type)
Returns all providers with the given type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProviderPredicates()
| Method Detail |
|---|
public static com.google.common.base.Predicate<ProviderMetadata> all()
public static com.google.common.base.Predicate<ProviderMetadata> id(String id)
id - the id of the provider to return
public static com.google.common.base.Predicate<ProviderMetadata> type(String type)
type - the type of the provider to return
public static com.google.common.base.Predicate<ProviderMetadata> boundedByIso3166Code(String iso3166Code)
isoCode - the ISO 3166 code to filter providers by
public static com.google.common.base.Predicate<ProviderMetadata> intersectingIso3166Code(ProviderMetadata refProviderMetadata)
refProviderMetadata - the provider metadata to use to filter providers by
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||