Class AbstractAwsProfileMapper<T extends AbstractAwsProfile>
- java.lang.Object
-
- org.craftercms.commons.config.profiles.AbstractProfileConfigMapper<T>
-
- org.craftercms.commons.config.profiles.aws.AbstractAwsProfileMapper<T>
-
- All Implemented Interfaces:
ConfigurationMapper<T>
- Direct Known Subclasses:
S3ProfileMapper
public abstract class AbstractAwsProfileMapper<T extends AbstractAwsProfile> extends AbstractProfileConfigMapper<T>
Base class for configuration mappers that map toAbstractAwsProfile
s.- Author:
- joseross, avasquez
-
-
Field Summary
-
Fields inherited from class org.craftercms.commons.config.profiles.AbstractProfileConfigMapper
configurationResolver, serviceName
-
-
Constructor Summary
Constructors Constructor Description AbstractAwsProfileMapper(String serviceName, ConfigurationResolver configurationResolver)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract AbstractAwsProfile
createProfile()
protected T
mapProfile(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> profileConfig)
-
Methods inherited from class org.craftercms.commons.config.profiles.AbstractProfileConfigMapper
processConfig, readConfig
-
-
-
-
Constructor Detail
-
AbstractAwsProfileMapper
public AbstractAwsProfileMapper(String serviceName, ConfigurationResolver configurationResolver)
-
-
Method Detail
-
mapProfile
protected T mapProfile(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> profileConfig) throws ConfigurationException
- Specified by:
mapProfile
in classAbstractProfileConfigMapper<T extends AbstractAwsProfile>
- Throws:
ConfigurationException
-
createProfile
protected abstract AbstractAwsProfile createProfile()
-
-