Package com.applitools.eyes.events
Class SessionEventHandlers
java.lang.Object
com.applitools.eyes.events.SessionEventHandlers
- All Implemented Interfaces:
ISessionEventHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEventHandler(ISessionEventHandler handler) voidvoidCalled when the model gathering phase had ended.voidCalled when the model gathering for creating a session phase had started.voidremoveEventHandler(ISessionEventHandler handler) voidCalled 'set size' operation has ended (either failed/success).voidsetSizeWillStart(com.applitools.eyes.RectangleSize sizeToSet) Called when setting the size of the application window is about to start.voidtestEnded(String autSessionId, TestResults testResults) Called after a session had ended.voidtestStarted(String autSessionId) Called after a session had started.voidvalidationEnded(String autSessionId, String validationId, ValidationResult validationResult) Called when a validation had ended.voidvalidationWillStart(String autSessionId, ValidationInfo validationInfo) Called before a new validation will be started.
-
Constructor Details
-
SessionEventHandlers
public SessionEventHandlers()
-
-
Method Details
-
addEventHandler
-
removeEventHandler
-
clearEventHandlers
public void clearEventHandlers() -
initStarted
public void initStarted()Description copied from interface:ISessionEventHandlerCalled when the model gathering for creating a session phase had started.- Specified by:
initStartedin interfaceISessionEventHandler
-
initEnded
public void initEnded()Description copied from interface:ISessionEventHandlerCalled when the model gathering phase had ended.- Specified by:
initEndedin interfaceISessionEventHandler
-
setSizeWillStart
public void setSizeWillStart(com.applitools.eyes.RectangleSize sizeToSet) Description copied from interface:ISessionEventHandlerCalled when setting the size of the application window is about to start.- Specified by:
setSizeWillStartin interfaceISessionEventHandler- Parameters:
sizeToSet- the size of the window.
-
setSizeEnded
public void setSizeEnded()Description copied from interface:ISessionEventHandlerCalled 'set size' operation has ended (either failed/success).- Specified by:
setSizeEndedin interfaceISessionEventHandler
-
testStarted
Description copied from interface:ISessionEventHandlerCalled after a session had started.- Specified by:
testStartedin interfaceISessionEventHandler- Parameters:
autSessionId- The AUT session ID.
-
testEnded
Description copied from interface:ISessionEventHandlerCalled after a session had ended.- Specified by:
testEndedin interfaceISessionEventHandler- Parameters:
autSessionId- The AUT session ID.testResults- The test results.
-
validationWillStart
Description copied from interface:ISessionEventHandlerCalled before a new validation will be started.- Specified by:
validationWillStartin interfaceISessionEventHandler- Parameters:
autSessionId- The AUT session ID.validationInfo- The validation parameters.
-
validationEnded
public void validationEnded(String autSessionId, String validationId, ValidationResult validationResult) Description copied from interface:ISessionEventHandlerCalled when a validation had ended.- Specified by:
validationEndedin interfaceISessionEventHandler- Parameters:
autSessionId- The AUT session ID.validationId- The ID of the validation which had ended.validationResult- The validation results.
-