Class SleepAction

java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.actions.SleepAction
All Implemented Interfaces:
Described, Named, TestAction, TestActorAware

public class SleepAction extends AbstractTestAction
Stop the test execution for a given amount of time.
Since:
2006
  • Method Details

    • doExecute

      public void doExecute(TestContext context)
      Description copied from class: AbstractTestAction
      Subclasses may add custom execution logic here.
      Specified by:
      doExecute in class AbstractTestAction
    • getTime

      public String getTime()
      Gets the time expression.
      Returns:
      the time expression
    • getTimeUnit

      public TimeUnit getTimeUnit()
      Obtains the timeUnit.
      Returns:
      the time unit.