public class ConfigurationElement extends Object
DefaultConfigurationFactory class.| Constructor and Description |
|---|
ConfigurationElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguredDeployable(DeployableElement deployableElement) |
void |
addConfiguredProperty(Property property)
Add a container property.
|
org.codehaus.cargo.container.configuration.Configuration |
createConfiguration(String containerId,
org.codehaus.cargo.container.ContainerType containerType) |
protected Class |
getConfigurationClass() |
protected List |
getDeployables() |
String |
getHome() |
protected List |
getProperties() |
org.codehaus.cargo.container.configuration.ConfigurationType |
getType() |
void |
setClass(Class configurationClass) |
void |
setHome(String home) |
void |
setType(String typeAsString)
Defaults to the standalone configuration if type is not specified by the user.
|
public final void setClass(Class configurationClass)
configurationClass - the configuration class to associate to the containing containerprotected final Class getConfigurationClass()
setClass(Class)public void addConfiguredDeployable(DeployableElement deployableElement)
deployableElement - the nested deployable element to deployprotected final List getDeployables()
protected final List getProperties()
addConfiguredProperty(Property)public void addConfiguredProperty(Property property)
property - the container property to addpublic final void setType(String typeAsString)
typeAsString - the configuration type as a stringConfigurationFactorypublic final void setHome(String home)
LocalConfiguration.getHome()public final org.codehaus.cargo.container.configuration.ConfigurationType getType()
setType(String)public final String getHome()
setHome(String)public org.codehaus.cargo.container.configuration.Configuration createConfiguration(String containerId, org.codehaus.cargo.container.ContainerType containerType)
containerId - the container id associated with this configurationcontainerType - the container type associated with this configurationCopyright © 2004-2013 Codehaus. All Rights Reserved.