|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalConfiguration
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.
Method Summary | |
---|---|
void |
addDeployable(Deployable deployable)
Deploy a Deployable in the container. |
void |
addResource(Resource resource)
Add resources the container can take advantage of. |
void |
configure(LocalContainer container)
Setup the container which means setting up a valid directory structure, setting up configuration files and deploying static deployables. |
java.util.List |
getDeployables()
|
FileHandler |
getFileHandler()
|
java.lang.String |
getHome()
|
java.util.List |
getResources()
|
void |
setFileHandler(FileHandler handler)
|
Methods inherited from interface org.codehaus.cargo.container.configuration.Configuration |
---|
getCapability, getProperties, getPropertyValue, getType, setProperty |
Methods inherited from interface org.codehaus.cargo.util.log.Loggable |
---|
getLogger, setLogger |
Method Detail |
---|
java.lang.String getHome()
void addDeployable(Deployable deployable)
Deployable
in the container. It installs the Deployable
in the
container's configuration directory.
deployable
- the Deployable
to deployjava.util.List getDeployables()
Deployable
s that are going to be deployed in the container when
it is startedvoid configure(LocalContainer container)
container
- the container to configurevoid addResource(Resource resource)
resource
- the Resource
to add.java.util.List getResources()
Resource
s that are going to be added to the container when
it is started.void setFileHandler(FileHandler handler)
handler
- means by which we affect local files.FileHandler getFileHandler()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |