|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.util.log.LoggedObject
org.codehaus.cargo.container.spi.configuration.AbstractConfiguration
org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration
org.codehaus.cargo.container.spi.configuration.AbstractStandaloneLocalConfiguration
public abstract class AbstractStandaloneLocalConfiguration
Base implementation for a standalone local configuration.
Field Summary |
---|
Fields inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration |
---|
RESOURCE_PATH |
Constructor Summary | |
---|---|
AbstractStandaloneLocalConfiguration(java.lang.String dir)
|
Method Summary | |
---|---|
protected org.apache.tools.ant.types.FilterChain |
createFilterChain()
Creates the default filter chain that should be applied while copying container configuration files to the working directory from which the container is started. |
ConfigurationType |
getType()
|
protected void |
setupConfigurationDir()
Set up the configuration directory (create it and clean it). |
void |
verify()
Verify that the configuration is valid. |
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractLocalConfiguration |
---|
addDeployable, configure, doConfigure, getAntUtils, getDeployables, getFileHandler, getHome, getResourceUtils, setFileHandler |
Methods inherited from class org.codehaus.cargo.container.spi.configuration.AbstractConfiguration |
---|
getProperties, getPropertyValue, setProperty |
Methods inherited from class org.codehaus.cargo.util.log.LoggedObject |
---|
getLogger, setLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.codehaus.cargo.container.configuration.LocalConfiguration |
---|
addDeployable, configure, getDeployables, getHome |
Methods inherited from interface org.codehaus.cargo.container.configuration.Configuration |
---|
getCapability, getProperties, getPropertyValue, setProperty |
Methods inherited from interface org.codehaus.cargo.util.log.Loggable |
---|
getLogger, setLogger |
Constructor Detail |
---|
public AbstractStandaloneLocalConfiguration(java.lang.String dir)
AbstractLocalConfiguration.AbstractLocalConfiguration(String)
Method Detail |
---|
protected void setupConfigurationDir() throws java.io.IOException
Note: We only clean the configuration directory if it's empty or if there is a Cargo timestamp file. This is to prevent deleting not empty directories if the user has mistakenly pointed the configuration dir to an existing location.
java.io.IOException
- if the directory cannot be createdprotected final org.apache.tools.ant.types.FilterChain createFilterChain()
public void verify()
verify
in interface ContainerConfiguration
verify
in class AbstractConfiguration
ContainerConfiguration.verify()
public ConfigurationType getType()
getType
in interface Configuration
Configuration.getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |