Package org.citrusframework.container
Class Timer
java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.container.AbstractActionContainer
org.citrusframework.container.Timer
- All Implemented Interfaces:
Described,Named,Completable,StopTimer,TestActionContainer,TestAction,TestActorAware
- Since:
- 2.5
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected AtomicBooleanprotected CitrusRuntimeExceptionFields inherited from class org.citrusframework.container.AbstractActionContainer
actionsFields inherited from class org.citrusframework.actions.AbstractTestAction
description -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoExecute(TestContext context) Subclasses may add custom execution logic here.longgetDelay()longintbooleanisDone(TestContext context) booleanisFork()voidMethods inherited from class org.citrusframework.container.AbstractActionContainer
addTestAction, addTestAction, addTestActions, addTestActions, executeAction, getActionCount, getActionIndex, getActions, getActiveAction, getExecutedActions, getTestAction, setActions, setActiveAction, setExecutedActionMethods inherited from class org.citrusframework.actions.AbstractTestAction
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.TestAction
execute, getActor, getName, isDisabled
-
Field Details
-
INDEX_SUFFIX
- See Also:
-
timerComplete
-
timerException
-
-
Constructor Details
-
Timer
-
-
Method Details
-
doExecute
Description copied from class:AbstractTestActionSubclasses may add custom execution logic here.- Specified by:
doExecutein classAbstractTestAction
-
getTimerId
-
stopTimer
public void stopTimer() -
getInterval
public long getInterval() -
getDelay
public long getDelay() -
getRepeatCount
public int getRepeatCount() -
isFork
public boolean isFork() -
isDone
- Specified by:
isDonein interfaceCompletable- Overrides:
isDonein classAbstractActionContainer
-