org.apache.cactus.integration.ant
Class CargoElement

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.codehaus.cargo.ant.CargoTask
              extended by org.apache.cactus.integration.ant.CargoElement

public class CargoElement
extends org.codehaus.cargo.ant.CargoTask

This is the element in the cactus task that holds the cargo properties, and in which the configuration for the cargo container is hold.

Version:
$Id: CactusWar.java 239162 2005-04-26 09:57:59Z paranoiabla $

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
CargoElement()
           
 
Method Summary
protected  org.codehaus.cargo.container.Container getCargoContainer()
          Creates, verifies and initializes the container.
 org.codehaus.cargo.container.Container getContainer()
          Override the method so that we use our container.
 
Methods inherited from class org.codehaus.cargo.ant.CargoTask
addConfiguredSysproperty, addConfiguredSyspropertyset, addSysproperty, createConfiguration, createExtraClasspath, createSharedClasspath, createZipURLInstaller, execute, executeActions, getAction, getConfiguration, getContainerClass, getContainerId, getExtraClasspath, getHome, getId, getLog, getLogger, getLogLevel, getOutput, getRefid, getSharedClasspath, getSystemProperties, getTimeout, getWait, getZipURLInstaller, isAppend, makeContainer, setAction, setAppend, setClass, setContainerFactory, setContainerId, setHint, setHome, setId, setLog, setLogLevel, setOutput, setRefId, setTimeout, setType, setupExtraClasspath, setupHome, setupLogger, setupOutput, setupSharedClasspath, setupSystemProperties, setupTimeout, setWait
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CargoElement

public CargoElement()
Method Detail

getCargoContainer

protected org.codehaus.cargo.container.Container getCargoContainer()
Creates, verifies and initializes the container.

Returns:
Container

getContainer

public org.codehaus.cargo.container.Container getContainer()
Override the method so that we use our container.

Overrides:
getContainer in class org.codehaus.cargo.ant.CargoTask
Returns:
Container - the current container being used


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.