|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--org.apache.anteater.test.BaseTask
Root class for all the Anteater tasks.
Field Summary | |
protected int |
debug
Debug level for this task. |
protected boolean |
debugWasSet
Whether debug was previously setup. |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
BaseTask()
|
Method Summary | |
void |
debug(String message)
|
int |
getDebug()
Return the debug level. |
Group |
getGroup()
|
void |
print(String message)
|
void |
println(String message)
|
protected String |
resolveContentURL(String contentHref)
Retrieve the resource specified as an absolute URL or basedir-relative path. |
void |
setDebug(int debug)
Set the debug level. |
void |
setGroup(Group group)
Sets the group that this task belongs to. |
void |
setGroup(String group)
Sets the group that this task belongs to. |
Methods inherited from class org.apache.tools.ant.Task |
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int debug
protected boolean debugWasSet
debug
was previously setup. This is used so
that local debug attributes are not overridden by the value of a
debug attribute inherited from its parent.
In other words, you can specify a debug attribute in a parent element, and override it in a sub-element.
Constructor Detail |
public BaseTask()
Method Detail |
public void setGroup(String group)
setGroup
in interface Groupable
group
- String id of an existing group.public void setGroup(Group group)
setGroup
in interface Groupable
group
- Group object to add this task to.public Group getGroup()
public void setDebug(int debug)
debug
- an int
valuepublic int getDebug()
int
valuepublic void debug(String message)
public void println(String message)
public void print(String message)
protected String resolveContentURL(String contentHref) throws IOException
contentHref
- URL or file path pointing to resource to retrieve
IOException
HttpRequest.createMatchObject()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |