Package org.citrusframework.container
Class Timer
java.lang.Object
org.citrusframework.actions.AbstractTestAction
org.citrusframework.container.AbstractActionContainer
org.citrusframework.container.Timer
- All Implemented Interfaces:
org.citrusframework.common.Described,org.citrusframework.common.Named,org.citrusframework.Completable,org.citrusframework.container.StopTimer,org.citrusframework.container.TestActionContainer,org.citrusframework.TestAction,org.citrusframework.TestActorAware
public class Timer
extends AbstractActionContainer
implements org.citrusframework.container.StopTimer
- Since:
- 2.5
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected AtomicBooleanprotected org.citrusframework.exceptions.CitrusRuntimeExceptionFields inherited from class org.citrusframework.container.AbstractActionContainer
actionsFields inherited from class org.citrusframework.actions.AbstractTestAction
description -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.citrusframework.container.AbstractActionContainer
addTestAction, addTestAction, addTestActions, addTestActions, executeAction, getActionCount, getActionIndex, getActions, getActiveAction, getExecutedActions, getNumberOfExecutedActions, 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
protected org.citrusframework.exceptions.CitrusRuntimeException timerException
-
-
Constructor Details
-
Timer
-
-
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
-
getTimerId
-
stopTimer
public void stopTimer()- Specified by:
stopTimerin interfaceorg.citrusframework.container.StopTimer
-
getInterval
public long getInterval() -
getDelay
public long getDelay() -
getRepeatCount
public int getRepeatCount() -
isFork
public boolean isFork() -
isDone
public boolean isDone(org.citrusframework.context.TestContext context) - Specified by:
isDonein interfaceorg.citrusframework.Completable- Overrides:
isDonein classAbstractActionContainer
-