Interface Composable

All Known Subinterfaces:
MultiPhased
All Known Implementing Classes:
Click, CloseWindow, Custom, Extract, GetUrl, IfThenElse, JustWait, MouseOver, MultiPhaseAction, OpenWindow, PostForm, ReplyAlert, ScrollToView, Select, SendKey, SinglePhaseAction, Upload, WaitUntil

public interface Composable
An interface which should be implemented by any action which delegates its execution to ActionComposer.
Author:
Kimberly
  • Method Details

    • getComposer

      ActionComposer getComposer()
      Get containing composer.
      Returns:
      containing composer
    • setComposer

      Composable setComposer(ActionComposer composer)
      Set containing composer.
      Parameters:
      composer - the containing composer to set
      Returns:
      invoking Composable
    • perform

      void perform()
      Perform action.
    • getErrors

      List<Exception> getErrors()
      Get the errors occurred during execution.
      Returns:
      the errors as a list of Exception
    • isDone

      boolean isDone()
      Check if this action is done.
      Returns:
      true if this action is done; false otherwise
    • isFail

      boolean isFail()
      Check if this action is failed.
      Returns:
      true if this action is failed; false otherwise