Package org.citrusframework.actions
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
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
Methods inherited from class org.citrusframework.actions.AbstractTestAction
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setName
-
Method Details
-
doExecute
public void doExecute(org.citrusframework.context.TestContext context) 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.
-