org.codehaus.cargo.maven2.configuration
Class Container

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

public class Container
extends java.lang.Object

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

Version:
$Id: Container.java 1235 2006-11-26 10:07:43Z vmassol $

Constructor Summary
Container()
           
 
Method Summary
 org.codehaus.cargo.container.Container createContainer(org.codehaus.cargo.container.configuration.Configuration configuration, org.codehaus.cargo.util.log.Logger logger, CargoProject project)
           
 java.lang.String getContainerId()
           
 Dependency[] getDependencies()
           
 java.lang.String getHome()
           
 java.lang.Class getImplementation()
           
 java.io.File getLog()
           
 org.codehaus.cargo.util.log.LogLevel getLogLevel()
           
 java.lang.String getOutput()
           
 java.util.Map getSystemProperties()
           
 java.lang.Long getTimeout()
           
 org.codehaus.cargo.container.ContainerType getType()
           
 ZipUrlInstaller getZipUrlInstaller()
           
 void setContainerId(java.lang.String containerId)
           
 void setDependencies(Dependency[] dependencies)
           
 void setHome(java.lang.String home)
           
 void setImplementation(java.lang.Class implementation)
           
 void setLog(java.io.File log)
           
 void setLogLevel(java.lang.String levelAsString)
           
 void setSystemProperties(java.util.Map systemProperties)
           
 void setType(org.codehaus.cargo.container.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 java.util.Map getSystemProperties()

setSystemProperties

public void setSystemProperties(java.util.Map systemProperties)

getTimeout

public java.lang.Long getTimeout()

getDependencies

public Dependency[] getDependencies()

setDependencies

public void setDependencies(Dependency[] dependencies)

getType

public org.codehaus.cargo.container.ContainerType getType()

setType

public void setType(org.codehaus.cargo.container.ContainerType type)

getContainerId

public java.lang.String getContainerId()

setContainerId

public void setContainerId(java.lang.String containerId)

getHome

public java.lang.String getHome()

setHome

public void setHome(java.lang.String home)

getOutput

public java.lang.String getOutput()

getZipUrlInstaller

public ZipUrlInstaller getZipUrlInstaller()

shouldAppend

public boolean shouldAppend()

setLog

public void setLog(java.io.File log)

getLog

public java.io.File getLog()

setLogLevel

public void setLogLevel(java.lang.String levelAsString)

getLogLevel

public org.codehaus.cargo.util.log.LogLevel getLogLevel()

getImplementation

public java.lang.Class getImplementation()

setImplementation

public void setImplementation(java.lang.Class implementation)

createContainer

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


Copyright © 2004-2010 Codehaus. All Rights Reserved.