org.codehaus.cargo.container.configuration
Interface LocalConfiguration
- All Superinterfaces:
- Configuration, org.codehaus.cargo.util.log.Loggable
- All Known Subinterfaces:
- ExistingLocalConfiguration, StandaloneLocalConfiguration
- All Known Implementing Classes:
- AbstractExistingLocalConfiguration, AbstractLocalConfiguration, AbstractStandaloneLocalConfiguration
public interface LocalConfiguration
- extends Configuration
A local configuration represents a container configuration located somewhere on the local file
system. A local configuration is activated before the container is started. In addition, a
local configuration allows you to deploy Deployable
s before the container is started.
- Version:
- $Id: LocalConfiguration.java 1165 2006-07-31 22:13:35Z vmassol $
Methods inherited from interface org.codehaus.cargo.util.log.Loggable |
getLogger, setLogger |
getHome
java.lang.String getHome()
- Returns:
- the configuration home directory. Note that we're returning a String instead of a
File because we want to leave the possibility of using URIs for specifying the home
location.
addDeployable
void addDeployable(Deployable deployable)
- Deploy a
Deployable
in the container. It installs the Deployable
in the
container's configuration directory.
- Parameters:
deployable
- the Deployable
to deploy
getDeployables
java.util.List getDeployables()
- Returns:
- the list of
Deployable
s that are going to be deployed in the container when
it is started
configure
void configure(LocalContainer container)
- Setup the container which means setting up a valid directory structure, setting up
configuration files and deploying static deployables.
- Parameters:
container
- the container to configure
Copyright © 2004-2009 Codehaus. All Rights Reserved.