public class SessionEventHandlers extends Object implements ISessionEventHandler
| Constructor and Description |
|---|
SessionEventHandlers() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventHandler(ISessionEventHandler handler) |
void |
clearEventHandlers() |
void |
initEnded()
Called when the model gathering phase had ended.
|
void |
initStarted()
Called when the model gathering for creating a session phase had started.
|
void |
removeEventHandler(ISessionEventHandler handler) |
void |
setSizeEnded()
Called 'set size' operation has ended (either failed/success).
|
void |
setSizeWillStart(com.applitools.eyes.RectangleSize sizeToSet)
Called when setting the size of the application window is about to start.
|
void |
testEnded(String autSessionId,
TestResults testResults)
Called after a session had ended.
|
void |
testStarted(String autSessionId)
Called after a session had started.
|
void |
validationEnded(String autSessionId,
String validationId,
ValidationResult validationResult)
Called when a validation had ended.
|
void |
validationWillStart(String autSessionId,
ValidationInfo validationInfo)
Called before a new validation will be started.
|
public void addEventHandler(ISessionEventHandler handler)
public void removeEventHandler(ISessionEventHandler handler)
public void clearEventHandlers()
public void initStarted()
ISessionEventHandlerinitStarted in interface ISessionEventHandlerpublic void initEnded()
ISessionEventHandlerinitEnded in interface ISessionEventHandlerpublic void setSizeWillStart(com.applitools.eyes.RectangleSize sizeToSet)
ISessionEventHandlersetSizeWillStart in interface ISessionEventHandlersizeToSet - the size of the window.public void setSizeEnded()
ISessionEventHandlersetSizeEnded in interface ISessionEventHandlerpublic void testStarted(String autSessionId)
ISessionEventHandlertestStarted in interface ISessionEventHandlerautSessionId - The AUT session ID.public void testEnded(String autSessionId, TestResults testResults)
ISessionEventHandlertestEnded in interface ISessionEventHandlerautSessionId - The AUT session ID.testResults - The test results.public void validationWillStart(String autSessionId, ValidationInfo validationInfo)
ISessionEventHandlervalidationWillStart in interface ISessionEventHandlerautSessionId - The AUT session ID.validationInfo - The validation parameters.public void validationEnded(String autSessionId, String validationId, ValidationResult validationResult)
ISessionEventHandlervalidationEnded in interface ISessionEventHandlerautSessionId - The AUT session ID.validationId - The ID of the validation which had ended.validationResult - The validation results.Copyright © 2023. All rights reserved.