org.apache.tools.ant.taskdefs
public class Retry extends Task implements TaskContainer
Since: Ant 1.7.1
Method Summary | |
---|---|
void | addTask(Task t)
set the task |
void | execute()
perform the work |
void | setRetryCount(int n)
set the number of times to retry the task |
void | setRetryDelay(int retryDelay)
set the delay between retries (in miliseconds) |
Parameters: t the task to retry.
Throws: BuildException if there is an error.
Parameters: n the number to use.
Parameters: n the time between retries.
Since: Ant 1.8.3