|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.ant.ConfigurationElement
Nested Ant element to wrap the
DefaultConfigurationFactory
class.
Constructor Summary | |
ConfigurationElement()
|
Method Summary | |
void |
addConfiguredDeployable(DeployableElement deployableElement)
|
void |
addConfiguredProperty(Property property)
Add a container property. |
org.codehaus.cargo.container.configuration.Configuration |
createConfiguration(java.lang.String containerId,
org.codehaus.cargo.container.ContainerType containerType)
|
protected java.lang.Class |
getConfigurationClass()
{@inheritDoc} |
protected java.util.List |
getDeployables()
{@inheritDoc} |
java.lang.String |
getHome()
{@inheritDoc} |
protected java.util.List |
getProperties()
{@inheritDoc} |
org.codehaus.cargo.container.configuration.ConfigurationType |
getType()
{@inheritDoc} |
void |
setClass(java.lang.Class configurationClass)
|
void |
setHome(java.lang.String home)
{@inheritDoc} |
void |
setType(java.lang.String typeAsString)
Defaults to the standalone configuration if type is not specified by the user. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConfigurationElement()
Method Detail |
public final void setClass(java.lang.Class configurationClass)
configurationClass
- the configuration class to associate to the containing containerprotected final java.lang.Class getConfigurationClass()
setClass(Class)
public void addConfiguredDeployable(DeployableElement deployableElement)
deployableElement
- the nested deployable element to deployprotected final java.util.List getDeployables()
addConfiguredDeployable(DeployableElement)
protected final java.util.List getProperties()
addConfiguredProperty(Property)
public void addConfiguredProperty(Property property)
property
- the container property to addpublic final void setType(java.lang.String typeAsString)
typeAsString
- the configuration type as a stringConfigurationFactory
public final void setHome(java.lang.String home)
LocalConfiguration.getHome()
public final org.codehaus.cargo.container.configuration.ConfigurationType getType()
setType(String)
public final java.lang.String getHome()
setHome(String)
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 configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |