public class ValidatorTask extends BaseRedirectorHelperTask
Modifier and Type | Field and Description |
---|---|
protected String |
path
The path to the webapp directory.
|
alwaysLog, failOnError, redirectErrStream, redirector, redirectorConfigured, redirectorElement, redirectOutput, redirectOutStream
Constructor and Description |
---|
ValidatorTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute the specified command.
|
String |
getPath() |
void |
setPath(String path) |
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
public String getPath()
public void setPath(String path)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
- if a validation error occursCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.