Package org.citrusframework.actions
Class SleepAction
java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.actions.SleepAction
- All Implemented Interfaces:
Described,Named,TestAction,TestActorAware
Stop the test execution for a given amount of time.
- Since:
- 2006
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.citrusframework.actions.AbstractTestAction
description -
Method Summary
Modifier and TypeMethodDescriptionvoiddoExecute(TestContext context) Subclasses may add custom execution logic here.getTime()Gets the time expression.Obtains the timeUnit.Methods inherited from class org.citrusframework.actions.AbstractTestAction
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setName
-
Method Details
-
doExecute
Description copied from class:AbstractTestActionSubclasses may add custom execution logic here.- Specified by:
doExecutein classAbstractTestAction
-
getTime
Gets the time expression.- Returns:
- the time expression
-
getTimeUnit
Obtains the timeUnit.- Returns:
- the time unit.
-