|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.cargo.ant.ConfigurationElement
public class 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. |
Configuration |
createConfiguration(java.lang.String containerId,
ContainerType containerType)
|
protected java.lang.Class |
getConfigurationClass()
|
protected java.util.List |
getDeployables()
|
java.lang.String |
getHome()
|
protected java.util.List |
getProperties()
|
ConfigurationType |
getType()
|
void |
setClass(java.lang.Class configurationClass)
|
void |
setHome(java.lang.String home)
|
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 stringConfigurationFactorypublic final void setHome(java.lang.String home)
LocalConfiguration.getHome()public final ConfigurationType getType()
setType(String)public final java.lang.String getHome()
setHome(String)
public Configuration createConfiguration(java.lang.String containerId,
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 | ||||||||