setStatusMessage
void session.setStatusMessage ( String message ) (enterprise edition only)
Description
Sets a status message to be displayed in the web interface.
Parameters
- message The message to be set.
Return Values
None
Change Log
Version | Description |
---|---|
5.5.32a | Available in Enterprise edition. |
Examples
Append a status message
if( scrapeableFile.getMaxRequestAttemptsReached() )
{
session.setStatusMessage( "Maximum requests reached for scrapeable file: " + scrapeableFile.getName() );
// Output the current status message.
session.log( "Current status message: " + session.getStatusMessage() );
}
{
session.setStatusMessage( "Maximum requests reached for scrapeable file: " + scrapeableFile.getName() );
// Output the current status message.
session.log( "Current status message: " + session.getStatusMessage() );
}
todd on 03/07/2012 at 5:37 pm
- Printer-friendly version
- Login or register to post comments