org.codehaus.cargo.container
Interface InstalledLocalContainer

All Superinterfaces:
Container, LocalContainer, Loggable, RunnableContainer, SpawnedContainer
All Known Implementing Classes:
AbstractInstalledLocalContainer

public interface InstalledLocalContainer
extends LocalContainer, SpawnedContainer

Represents a local container that requires an installation to work. The installation is where the container's runtime is located.

Version:
$Id: InstalledLocalContainer.java 1705 2008-09-02 13:14:55Z adriana $

Method Summary
 java.lang.String getHome()
           
 void setHome(java.lang.String home)
           
 
Methods inherited from interface org.codehaus.cargo.container.LocalContainer
getConfiguration, getFileHandler, setConfiguration, setFileHandler
 
Methods inherited from interface org.codehaus.cargo.container.Container
getCapability, getId, getName, getState, getType
 
Methods inherited from interface org.codehaus.cargo.util.log.Loggable
getLogger, setLogger
 
Methods inherited from interface org.codehaus.cargo.container.internal.RunnableContainer
getOutput, getTimeout, isAppend, setAppend, setOutput, setTimeout, start, stop
 
Methods inherited from interface org.codehaus.cargo.container.internal.SpawnedContainer
addExtraClasspath, addSharedClasspath, getExtraClasspath, getSharedClasspath, getSystemProperties, setExtraClasspath, setSharedClasspath, setSystemProperties
 

Method Detail

getHome

java.lang.String getHome()
Returns:
the directory where the container is installed. 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.

setHome

void setHome(java.lang.String home)
Parameters:
home - the directory where the container is installed. Note that we're passing a String instead of a File because we want to leave the possibility of using URIs for specifying the home location.


Copyright © 2004-2011 Codehaus. All Rights Reserved.