Package org.jclouds.providers.internal
Class UpdateProviderMetadataFromProperties
- java.lang.Object
-
- org.jclouds.providers.internal.UpdateProviderMetadataFromProperties
-
- All Implemented Interfaces:
com.google.common.base.Function<Properties,ProviderMetadata>
,Function<Properties,ProviderMetadata>
public class UpdateProviderMetadataFromProperties extends Object implements com.google.common.base.Function<Properties,ProviderMetadata>
UpdatesProviderMetadata
carrying over the inputProperties
, filtering out those which are typed fields inProviderMetadata
orApiMetadata
-
-
Constructor Summary
Constructors Constructor Description UpdateProviderMetadataFromProperties(ApiMetadata apiMetadata)
UpdateProviderMetadataFromProperties(ApiMetadata apiMetadata, com.google.common.base.Optional<ProviderMetadata> providerMetadata)
UpdateProviderMetadataFromProperties(ProviderMetadata providerMetadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProviderMetadata
apply(Properties input)
-
-
-
Constructor Detail
-
UpdateProviderMetadataFromProperties
public UpdateProviderMetadataFromProperties(ProviderMetadata providerMetadata)
-
UpdateProviderMetadataFromProperties
public UpdateProviderMetadataFromProperties(ApiMetadata apiMetadata)
-
UpdateProviderMetadataFromProperties
public UpdateProviderMetadataFromProperties(ApiMetadata apiMetadata, com.google.common.base.Optional<ProviderMetadata> providerMetadata)
-
-
Method Detail
-
apply
public ProviderMetadata apply(Properties input)
- Specified by:
apply
in interfacecom.google.common.base.Function<Properties,ProviderMetadata>
- Specified by:
apply
in interfaceFunction<Properties,ProviderMetadata>
-
-