org.apache.tools.ant.taskdefs.optional.testing
public class BlockFor extends WaitFor
Since: Ant 1.8
Constructor Summary | |
---|---|
BlockFor()
Constructor that takes the name of the task in the task name.
| |
BlockFor(String taskName)
Constructor that takes the name of the task in the task name.
|
Method Summary | |
---|---|
void | addText(String message)
Set the error text; all properties are expanded in the message.
|
protected void | processTimeout()
If the wait fails, a BuildException is thrown. |
Parameters: taskName the name of the task.
Parameters: message the text to use in a failure message
Throws: BuildTimeoutException on timeout, using the text in text