public class Retry extends Task implements TaskContainer
| Constructor and Description | 
|---|
| Retry() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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 milliseconds) | 
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic void addTask(Task t)
addTask in interface TaskContainert - the task to retry.public void execute()
             throws BuildException
execute in class TaskBuildException - if there is an error.public void setRetryCount(int n)
n - the number to use.public void setRetryDelay(int retryDelay)
retryDelay - the time between retries.