public abstract class AbstractCatalinaCommandTask extends AbstractCatalinaTask
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
path
The context path of the web application we are managing.
|
protected java.lang.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 |
---|---|
java.lang.StringBuilder |
createQueryString(java.lang.String command)
Create query string for the specified command.
|
java.lang.String |
getPath() |
java.lang.String |
getVersion() |
void |
setPath(java.lang.String path) |
void |
setVersion(java.lang.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 java.lang.String path
protected java.lang.String version
public java.lang.String getPath()
public void setPath(java.lang.String path)
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
public java.lang.StringBuilder createQueryString(java.lang.String command) throws org.apache.tools.ant.BuildException
command
- Command to be executedorg.apache.tools.ant.BuildException
- if an error occursCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.