Class SleepAction

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

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

    • doExecute

      public void doExecute(org.citrusframework.context.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.