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:
RetryHandler

Field Summary

static int
RETRY_FOREVER
The value to use to never give up.

Method Summary

void
execute()
Called to execute the code.

Field Details

RETRY_FOREVER

public static final int RETRY_FOREVER
The value to use to never give up.
Field Value:
-1

Method Details

execute

public void execute()
            throws IOException
Called to execute the code.