public abstract class AbstractCatalinaCommandTask extends AbstractCatalinaTask
Modifier and Type | Field and Description |
---|---|
protected String |
path
The context path of the web application we are managing.
|
protected String |
version
The context version of the web application we are managing.
|
charset, ignoreResponseConstraint, password, url, username
alwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream
Constructor and Description |
---|
AbstractCatalinaCommandTask() |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
createQueryString(String command)
Create query string for the specified command.
|
String |
getPath() |
String |
getVersion() |
void |
setPath(String path) |
void |
setVersion(String version) |
execute, execute, execute, getCharset, getPassword, getUrl, getUsername, isIgnoreResponseConstraint, setCharset, setIgnoreResponseConstraint, setPassword, setUrl, setUsername
addConfiguredRedirector, closeRedirector, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, handleOutput, isFailOnError, openRedirector, setAlwaysLog, setAppend, setCreateEmptyFiles, setError, setErrorProperty, setFailonerror, setLogError, setOutput, setOutputproperty
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleInput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
protected String path
protected String version
public String getPath()
public void setPath(String path)
public String getVersion()
public void setVersion(String version)
public StringBuilder createQueryString(String command) throws org.apache.tools.ant.BuildException
command
- Command to be executedorg.apache.tools.ant.BuildException
- if an error occursCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.