public abstract class AbstractBaseTask extends Object implements SubTask
Abstract base class extended by other sub tasks.
Attribute | Description | Required |
---|---|---|
failonerror |
Flag to control failure behaviour.
If 'true', the sub task will throw a |
No. default value is taken from the Rhino management parent task. |
Modifier and Type | Field and Description |
---|---|
protected RhinoConnection |
client |
protected boolean |
failOnError |
Constructor and Description |
---|
AbstractBaseTask() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
execute() |
protected String |
getExceptionAndMessage(Throwable e) |
boolean |
getFailOnError() |
protected String |
getMessage(Throwable e) |
boolean |
getOverrideFailOnError() |
protected BaseAntTask |
getParent() |
protected org.apache.tools.ant.Project |
getProject() |
protected void |
log(String message,
int level) |
void |
run(BaseAntTask parent,
RhinoConnection client,
boolean failOnError) |
void |
setFailOnError(boolean failOnError) |
protected abstract void |
validateParameters() |
protected RhinoConnection client
protected boolean failOnError
public boolean getFailOnError()
getFailOnError
in interface SubTask
public void setFailOnError(boolean failOnError)
public boolean getOverrideFailOnError()
public void run(BaseAntTask parent, RhinoConnection client, boolean failOnError) throws org.apache.tools.ant.BuildException
protected void log(String message, int level)
protected abstract void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
protected abstract void validateParameters() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
protected BaseAntTask getParent()
protected org.apache.tools.ant.Project getProject()