getEmptyPolicy

RetryPolicy RetryPolicyFactory.getEmptyPolicy ( )

Description

Policy that returns no error. Useful for having a session-wide retry policy, but then using this for a particular scrapeable file so it doesn't use the session's policy

Parameters

    This method takes no parameters

Return Value

The RetryPolicy to set in the ScrapeableFile

Change Log

Version Description
6.0.25a Available in all editions.

Examples

Set an empty retry policy

 import com.screenscraper.util.retry.RetryPolicyFactory;
 scrapeableFile.setRetryPolicy(RetryPolicyFactory.getEmptyPolicy());