Class Wait<T>

java.lang.Object
jp.co.moneyforward.autotest.framework.action.Wait<T>
Type Parameters:
T - The type of the variable to handle.
All Implemented Interfaces:
Act<T,T>

public class Wait<T> extends Object implements Act<T,T>
Use this only when you have no other choices.
  • Constructor Details

    • Wait

      public Wait(int time, TimeUnit unit, String excuse)
      Creates an instance of this class.
      Parameters:
      time - Time to wait.
      unit - Unit of the time.
      excuse - An excuse to use this class.
  • Method Details

    • perform

      public T perform(T value, ExecutionEnvironment executionEnvironment)
      Description copied from interface: Act
      Applies this function the given argument: value(T) and returns the result (R).
      Specified by:
      perform in interface Act<T,T>
      Parameters:
      value - An argument value.
      executionEnvironment - An environment in which this function is executed.
      Returns:
      the function result.
    • name

      public String name()
      Description copied from interface: Act
      Returns a name of an instance of this interface.
      Specified by:
      name in interface Act<T,T>
      Returns:
      A name of this instance.