org.codehaus.cargo.container
Interface InstalledLocalContainer

All Superinterfaces:
Container, LocalContainer, org.codehaus.cargo.util.log.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 1165 2006-07-31 22:13:35Z vmassol $

Method Summary
 java.lang.String getHome()
           
 void setHome(java.lang.String home)
           
 
Methods inherited from interface org.codehaus.cargo.container.LocalContainer
getConfiguration, setConfiguration
 
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
getExtraClasspath, getSystemProperties, setExtraClasspath, 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-2009 Codehaus. All Rights Reserved.