Class SleepAction

  • All Implemented Interfaces:
    com.consol.citrus.common.Described, com.consol.citrus.common.Named, com.consol.citrus.TestAction, com.consol.citrus.TestActorAware

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

      • doExecute

        public void doExecute​(com.consol.citrus.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.