public class AwsProfileManagerImpl extends Object implements AwsProfileManager
AwsProfileManager
that reads a single XML file from the repository.\Modifier and Type | Field and Description |
---|---|
protected String |
basePath
The path where the XML file is stored.
|
protected ContentService |
contentService
Crafter Studio content service.
|
protected String |
fileName
The name of the XML file.
|
Constructor and Description |
---|
AwsProfileManagerImpl() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.commons.configuration2.HierarchicalConfiguration |
getConfiguration(InputStream input) |
org.apache.commons.configuration2.HierarchicalConfiguration |
getProfile(String site,
String profileId) |
void |
setBasePath(String basePath) |
void |
setContentService(ContentService contentService) |
void |
setFileName(String fileName) |
protected String basePath
protected String fileName
protected ContentService contentService
public void setBasePath(String basePath)
public void setFileName(String fileName)
public void setContentService(ContentService contentService)
protected org.apache.commons.configuration2.HierarchicalConfiguration getConfiguration(InputStream input) throws Exception
Exception
public org.apache.commons.configuration2.HierarchicalConfiguration getProfile(String site, String profileId) throws AwsConfigurationException
getProfile
in interface AwsProfileManager
AwsConfigurationException
Copyright © 2018 CrafterCMS. All rights reserved.