Modifier and Type | Method and Description |
---|---|
<V extends View> |
ContextBuilder.build(Class<V> viewType) |
<V extends View> |
ContextBuilder.buildView(Class<V> viewType) |
<V extends View> |
ContextBuilder.buildView(com.google.common.reflect.TypeToken<V> viewType)
this will build any
view supported by the ApiMetadata. |
Modifier and Type | Method and Description |
---|---|
Set<com.google.common.reflect.TypeToken<? extends View>> |
ApiMetadata.getViews() |
Modifier and Type | Method and Description |
---|---|
B |
ApiMetadata.Builder.view(Class<? extends View> view) |
B |
ApiMetadata.Builder.view(com.google.common.reflect.TypeToken<? extends View> view) |
static Iterable<ApiMetadata> |
Apis.viewableAs(Class<? extends View> type) |
static Iterable<ApiMetadata> |
Apis.viewableAs(com.google.common.reflect.TypeToken<? extends View> type)
Returns all apis who's contexts are assignable from the parameter
|
B |
ApiMetadata.Builder.views(Set<com.google.common.reflect.TypeToken<? extends View>> views) |
Modifier and Type | Method and Description |
---|---|
Set<com.google.common.reflect.TypeToken<? extends View>> |
BaseApiMetadata.getViews() |
Modifier and Type | Method and Description |
---|---|
T |
BaseApiMetadata.Builder.view(Class<? extends View> view) |
T |
BaseApiMetadata.Builder.view(com.google.common.reflect.TypeToken<? extends View> view) |
T |
BaseApiMetadata.Builder.views(Set<com.google.common.reflect.TypeToken<? extends View>> views) |
Constructor and Description |
---|
BaseApiMetadata(String id,
String name,
Set<com.google.common.reflect.TypeToken<? extends View>> views,
String endpointName,
String identityName,
com.google.common.base.Optional<String> credentialName,
String version,
com.google.common.base.Optional<String> buildVersion,
com.google.common.base.Optional<String> defaultEndpoint,
com.google.common.base.Optional<String> defaultIdentity,
com.google.common.base.Optional<String> defaultCredential,
Properties defaultProperties,
URI documentation,
com.google.common.reflect.TypeToken<? extends Context> context,
Set<Class<? extends com.google.inject.Module>> defaultModules) |
Modifier and Type | Interface and Description |
---|---|
interface |
AWSEC2ComputeServiceContext |
Modifier and Type | Class and Description |
---|---|
class |
AWSEC2ComputeServiceContextImpl |
Modifier and Type | Interface and Description |
---|---|
interface |
AWSS3BlobStoreContext |
Modifier and Type | Class and Description |
---|---|
class |
AWSS3BlobStoreContextImpl |
Modifier and Type | Interface and Description |
---|---|
interface |
BlobStoreContext
Represents a cloud that has key-value storage functionality.
|
Modifier and Type | Class and Description |
---|---|
class |
BlobStoreContextImpl |
Modifier and Type | Interface and Description |
---|---|
interface |
ChefContext
Deprecated.
Will be removed in next version. Directly create the
ChefApi instead and access the ChefService from
it. |
Modifier and Type | Class and Description |
---|---|
class |
ChefContextImpl
Deprecated.
Will be removed in next version. Directly create the
ChefApi instead and access the ChefService from
it. |
Modifier and Type | Interface and Description |
---|---|
interface |
CloudStackContext |
Modifier and Type | Class and Description |
---|---|
class |
CloudStackContextImpl |
Modifier and Type | Interface and Description |
---|---|
interface |
ComputeServiceContext
Represents a cloud that has compute functionality.
|
Modifier and Type | Class and Description |
---|---|
class |
ComputeServiceContextImpl |
Modifier and Type | Interface and Description |
---|---|
interface |
EC2ComputeServiceContext |
Modifier and Type | Class and Description |
---|---|
class |
EC2ComputeServiceContextImpl |
Modifier and Type | Class and Description |
---|---|
class |
BaseView |
Modifier and Type | Interface and Description |
---|---|
interface |
LoadBalancerServiceContext
Represents a cloud that has LoadBalancer functionality.
|
Modifier and Type | Class and Description |
---|---|
class |
LoadBalancerServiceContextImpl |
Modifier and Type | Class and Description |
---|---|
class |
RegionScopedBlobStoreContext
Implementation of
BlobStoreContext which allows you to employ
multiple regions. |
Modifier and Type | Method and Description |
---|---|
static Iterable<ProviderMetadata> |
Providers.boundedByIso3166Code(String iso3166Code,
Class<? extends View> viewableAs) |
static Iterable<ProviderMetadata> |
Providers.boundedByIso3166Code(String iso3166Code,
com.google.common.reflect.TypeToken<? extends View> viewableAs)
Returns the providers that are bound to the same location as the given ISO 3166 code and of
the given viewableAs.
|
static Iterable<ProviderMetadata> |
Providers.collocatedWith(ProviderMetadata providerMetadata,
Class<? extends View> viewableAs) |
static Iterable<ProviderMetadata> |
Providers.collocatedWith(ProviderMetadata providerMetadata,
com.google.common.reflect.TypeToken<? extends View> viewableAs)
Returns the providers that have at least one common ISO 3166 code and are of the given
viewableAs.
|
static Iterable<ProviderMetadata> |
Providers.viewableAs(Class<? extends View> viewableAs) |
static Iterable<ProviderMetadata> |
Providers.viewableAs(com.google.common.reflect.TypeToken<? extends View> viewableAs)
Returns the providers that are of the provided viewableAs.
|
static com.google.common.base.Predicate<ProviderMetadata> |
ProviderPredicates.viewableAs(com.google.common.reflect.TypeToken<? extends View> type)
Returns all providers with an context transformable to the given type.
|
Constructor and Description |
---|
ProviderPredicates.TransformableTo(com.google.common.reflect.TypeToken<? extends View> type) |
Modifier and Type | Interface and Description |
---|---|
interface |
S3BlobStoreContext |
Modifier and Type | Class and Description |
---|---|
class |
S3BlobStoreContextImpl |
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.