java.lang.Cloneable, TaskContainerpublic class Retry extends Task implements TaskContainer
description, location, project| Constructor | Description |
|---|---|
Retry() |
| Modifier and Type | Method | 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)
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void addTask(Task t)
addTask in interface TaskContainert - the task to retry.public void setRetryCount(int n)
n - the number to use.public void setRetryDelay(int retryDelay)
retryDelay - the time between retries.public void execute()
throws BuildException
execute in class TaskBuildException - if there is an error.