org.apache.catalina.ant

Class InstallTask


public class InstallTask
extends AbstractCatalinaTask

Ant task that implements the /install command, supported by the Tomcat manager application.

Version:
$Revision: 1.4 $ $Date: 2004/02/27 14:58:40 $

Author:
Craig R. McClanahan

Since:
4.1

Field Summary

protected String
config
URL of the context configuration file for this application, if any.
protected String
path
The context path of the web application we are managing.
protected String
war
URL of the web application archive (WAR) file, or the unpacked directory containing this application, if any.

Fields inherited from class org.apache.catalina.ant.AbstractCatalinaTask

password, url, username

Method Summary

void
execute()
Execute the requested operation.
String
getConfig()
String
getPath()
String
getWar()
void
setConfig(String config)
void
setPath(String path)
void
setWar(String war)

Methods inherited from class org.apache.catalina.ant.AbstractCatalinaTask

execute, execute, execute, getPassword, getUrl, getUsername, setPassword, setUrl, setUsername

Field Details

config

protected String config
URL of the context configuration file for this application, if any.


path

protected String path
The context path of the web application we are managing.


war

protected String war
URL of the web application archive (WAR) file, or the unpacked directory containing this application, if any.

Method Details

execute

public void execute()
            throws BuildException
Execute the requested operation.
Overrides:
execute in interface AbstractCatalinaTask


getConfig

public String getConfig()


getPath

public String getPath()


getWar

public String getWar()


setConfig

public void setConfig(String config)


setPath

public void setPath(String path)


setWar

public void setWar(String war)


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.