public class ConfigurationElement
extends java.lang.Object
DefaultConfigurationFactory class.| Constructor and Description |
|---|
ConfigurationElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguredConfigfile(org.codehaus.cargo.container.configuration.FileConfig configfileElement) |
void |
addConfiguredDeployable(DeployableElement deployableElement) |
void |
addConfiguredFile(org.codehaus.cargo.container.configuration.FileConfig fileConfigElement) |
void |
addConfiguredProperty(Property property)
Add a container property.
|
void |
addConfiguredXmlreplacement(org.codehaus.cargo.util.XmlReplacement xmlReplacement) |
org.codehaus.cargo.container.configuration.Configuration |
createConfiguration(java.lang.String containerId,
org.codehaus.cargo.container.ContainerType containerType) |
protected java.lang.Class |
getConfigurationClass() |
protected java.util.List<DeployableElement> |
getDeployables() |
protected java.util.List<org.codehaus.cargo.container.configuration.FileConfig> |
getFileConfigs()
Get the list of configFiles
|
protected java.util.List<org.codehaus.cargo.container.configuration.FileConfig> |
getFiles()
Get the list of files
|
java.lang.String |
getHome() |
protected java.util.List<Property> |
getProperties() |
java.io.File |
getPropertiesFile() |
org.codehaus.cargo.container.configuration.ConfigurationType |
getType() |
protected java.util.List<org.codehaus.cargo.util.XmlReplacement> |
getXmlReplacements() |
void |
setClass(java.lang.Class configurationClass) |
void |
setHome(java.lang.String home) |
void |
setPropertiesFile(java.io.File propertiesFile) |
void |
setType(java.lang.String typeAsString)
Defaults to the standalone configuration if type is not specified by the user.
|
public void setClass(java.lang.Class configurationClass)
configurationClass - the configuration class to associate to the containing containerprotected java.lang.Class getConfigurationClass()
public void addConfiguredDeployable(DeployableElement deployableElement)
deployableElement - the nested deployable element to deployprotected java.util.List<DeployableElement> getDeployables()
public void addConfiguredConfigfile(org.codehaus.cargo.container.configuration.FileConfig configfileElement)
configfileElement - the nested config element to deployprotected java.util.List<org.codehaus.cargo.container.configuration.FileConfig> getFileConfigs()
public void addConfiguredFile(org.codehaus.cargo.container.configuration.FileConfig fileConfigElement)
fileConfigElement - the nested file element to deployprotected java.util.List<org.codehaus.cargo.container.configuration.FileConfig> getFiles()
public void addConfiguredProperty(Property property)
property - the container property to addprotected java.util.List<Property> getProperties()
public java.io.File getPropertiesFile()
public void setPropertiesFile(java.io.File propertiesFile)
propertiesFile - Container properties loaded from file.public void addConfiguredXmlreplacement(org.codehaus.cargo.util.XmlReplacement xmlReplacement)
xmlReplacement - the list of XML replacementsprotected java.util.List<org.codehaus.cargo.util.XmlReplacement> getXmlReplacements()
public void setType(java.lang.String typeAsString)
typeAsString - the configuration type as a stringConfigurationFactorypublic org.codehaus.cargo.container.configuration.ConfigurationType getType()
public void setHome(java.lang.String home)
home - the home directory to setpublic java.lang.String getHome()
public org.codehaus.cargo.container.configuration.Configuration createConfiguration(java.lang.String containerId,
org.codehaus.cargo.container.ContainerType containerType)
containerId - the container id associated with this configurationcontainerType - the container type associated with this configurationCopyright © 2004-2014 Codehaus. All Rights Reserved.