SessionEventData
SessionEventData extends AbstractEventData
This contains the data for various session operations
Inherits the following methods from AbstractEventData
See Also
getIncrementRecordsAmount
Object sessionEventData.getIncrementRecordsAmount ( )
Description
Returns the IncrementRecordsAmount value for the object.
Parameters
This method does not receive any parameters.
Return Values
Returns the IncrementRecordsAmount value for the object.
Change Log
Version |
Description |
6.0.55a |
Available for all editions. |
Examples
Get the current increment records amount.
public Object handleEvent(EventFireTime fireTime, SessionEventData data) {
Object recordsAmt = data.getIncrementRecordsAmount();
// do something
}
getSession
ScrapingSession sessionEventData.getSession ( )
Description
Returns the Session value for the object.
Parameters
This method does not receive any parameters.
Return Values
Returns the Session value for the object.
Change Log
Version |
Description |
6.0.55a |
Available for all editions. |
Examples
Get the current Session.
public Object handleEvent(EventFireTime fireTime, SessionEventData data) {
ScrapingSession _session = data.getSession();
// do something
}
getVariableName
String sessionEventData.getVariableName ( )
Description
Returns the VariableName value for the object.
Parameters
This method does not receive any parameters.
Return Values
Returns the VariableName value for the object.
Change Log
Version |
Description |
6.0.55a |
Available for all editions. |
Examples
Get the variable name.
public Object handleEvent(EventFireTime fireTime, SessionEventData data) {
String name = data.getVariableName();
// do something
}
getVariableValue
Object sessionEventData.getVariableValue ( )
Description
Returns the VariableValue value for the object.
Parameters
This method does not receive any parameters.
Return Values
Returns the VariableValue value for the object.
Change Log
Version |
Description |
6.0.55a |
Available for all editions. |
Examples
Get the current Session.
public Object handleEvent(EventFireTime fireTime, SessionEventData data) {
Object value = data.getVariableValue();
// do something
}