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.
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() );
}