org.codehaus.cargo.maven2.configuration
Class Container

java.lang.Object
  extended by org.codehaus.cargo.maven2.configuration.Container

public class Container
extends Object

Holds configuration data for the <container> tag used to configure the plugin in the pom.xml file.

Version:
$Id: Container.java 1437 2007-03-08 23:50:53Z david $

Constructor Summary
Container()
           
 
Method Summary
 Container createContainer(Configuration configuration, Logger logger, CargoProject project)
           
 String getContainerId()
           
 Dependency[] getDependencies()
           
 String getHome()
           
 String getImplementation()
           
 File getLog()
           
 LogLevel getLogLevel()
           
 String getOutput()
           
 Map getSystemProperties()
           
 Long getTimeout()
           
 ContainerType getType()
           
 ZipUrlInstaller getZipUrlInstaller()
           
 void setContainerId(String containerId)
           
 void setDependencies(Dependency[] dependencies)
           
 void setHome(String home)
           
 void setImplementation(String implementation)
           
 void setLog(File log)
           
 void setLogLevel(String levelAsString)
           
 void setSystemProperties(Map systemProperties)
           
 void setType(ContainerType type)
           
 boolean shouldAppend()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Container

public Container()
Method Detail

getSystemProperties

public Map getSystemProperties()

setSystemProperties

public void setSystemProperties(Map systemProperties)

getTimeout

public Long getTimeout()

getDependencies

public Dependency[] getDependencies()

setDependencies

public void setDependencies(Dependency[] dependencies)

getType

public ContainerType getType()

setType

public void setType(ContainerType type)

getContainerId

public String getContainerId()

setContainerId

public void setContainerId(String containerId)

getHome

public String getHome()

setHome

public void setHome(String home)

getOutput

public String getOutput()

getZipUrlInstaller

public ZipUrlInstaller getZipUrlInstaller()

shouldAppend

public boolean shouldAppend()

setLog

public void setLog(File log)

getLog

public File getLog()

setLogLevel

public void setLogLevel(String levelAsString)

getLogLevel

public LogLevel getLogLevel()

getImplementation

public String getImplementation()

setImplementation

public void setImplementation(String implementation)

createContainer

public Container createContainer(Configuration configuration,
                                 Logger logger,
                                 CargoProject project)
                          throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2004-2012 Codehaus. All Rights Reserved.