getRetryPolicy
RetryPolicy scrapeableFile.getRetryPolicy ( ) (professional and enterprise editions only)
Description
Returns the retry policy. Note that in any 'After file is scraped' scripts this is null
Parameters
This method takes no parameters.
Return Value
The Retry Policy that will be used by this scrapeable file
Change Log
Version | Description |
---|---|
5.5.29a | Available in professional and enterprise editions. |
Examples
Check for a retry policy
if(scrapeableFile.getRetryPolicy() == null)
{
session.log(scrapeableFile.getName() + ": Retry policy has been set for this scrapeable file.");
}
{
session.log(scrapeableFile.getName() + ": Retry policy has been set for this scrapeable file.");
}
mikes on 11/18/2011 at 4:03 pm
- Printer-friendly version
- Login or register to post comments