|
||||||||||
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 |
addConfiguredConfigfile(FileConfig configfileElement)
|
void |
addConfiguredDeployable(DeployableElement deployableElement)
|
void |
addConfiguredFile(FileConfig fileConfigElement)
|
void |
addConfiguredProperty(Property property)
Add a container property. |
Configuration |
createConfiguration(String containerId,
ContainerType containerType)
|
protected Class |
getConfigurationClass()
|
protected List |
getDeployables()
|
protected List |
getFileConfigs()
|
String |
getHome()
|
protected List |
getProperties()
|
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. |
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(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()
addConfiguredDeployable(DeployableElement)
public void addConfiguredConfigfile(FileConfig configfileElement)
configfileElement
- the nested config element to deploypublic void addConfiguredFile(FileConfig fileConfigElement)
fileConfigElement
- the nested file element to deployprotected final List getFileConfigs()
addConfiguredDeployable(DeployableElement)
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 stringConfigurationFactory
public final void setHome(String home)
LocalConfiguration.getHome()
public final ConfigurationType getType()
setType(String)
public final String getHome()
setHome(String)
public Configuration createConfiguration(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 |