Package jp.vmi.selenium.selenese
Interface InteractiveModeHandler
- All Known Implementing Classes:
SimpleInteractiveModeHandler
public interface InteractiveModeHandler
Interactive mode handler interface.
NOTE: THIS INTERFACE IS EXPERIMENTAL. IT MAY CHANGE IN THE FUTURE.
-
Field Summary
Fields Modifier and Type Field Description static InteractiveModeHandlerALWAYS_NON_INTERACTIVEInstance of always non interactive. -
Method Summary
Modifier and Type Method Description voidenableIfBreakpointReached(CurrentCommand curCmd)Enable if a breakpoint is reached.CurrentCommandhandle(Context context, CommandListIterator commandListIterator, CurrentCommand curCmd)Handle interactive mode.booleanisEnabled()Get interactive mode is enabled or not.voidsetEnabled(boolean isEnabled)Enable or disable interactive mode.
-
Field Details
-
ALWAYS_NON_INTERACTIVE
Instance of always non interactive.
-
-
Method Details
-
isEnabled
boolean isEnabled()Get interactive mode is enabled or not.- Returns:
- true if interactive mode is enabled.
-
setEnabled
void setEnabled(boolean isEnabled)Enable or disable interactive mode.- Parameters:
isEnabled- true if enable interactive mode.
-
enableIfBreakpointReached
Enable if a breakpoint is reached.- Parameters:
curCmd- current command.
-
handle
CurrentCommand handle(Context context, CommandListIterator commandListIterator, CurrentCommand curCmd)Handle interactive mode.- Parameters:
context- context.commandListIterator- command list iterator.curCmd- current command.- Returns:
- curCmd itself or replaced command.
-