Package org.apache.tools.ant.util
Interface Retryable
public interface Retryable
Simple interface for executing a piece of code. Used for writing anonymous inner
classes in FTP task for retry-on-IOException behaviour.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The value to use to never give up. -
Method Summary
-
Field Details
-
RETRY_FOREVER
static final int RETRY_FOREVERThe value to use to never give up.- See Also:
-
-
Method Details
-
execute
Called to execute the code.- Throws:
IOException
- if there is a problem.
-