public class TimerBuilder extends AbstractTestContainerBuilder<Timer>
container, designer, runner
action
Constructor and Description |
---|
TimerBuilder(TestDesigner designer) |
TimerBuilder(TestDesigner designer,
Timer container) |
TimerBuilder(TestRunner runner) |
TimerBuilder(TestRunner runner,
Timer container) |
Modifier and Type | Method and Description |
---|---|
TimerBuilder |
delay(long delay)
Initial delay in milliseconds before first timer event should fire.
|
TimerBuilder |
fork(boolean fork)
Fork the timer so that other actions can run in parallel to the nested timer actions
|
TimerBuilder |
interval(long interval)
Interval in milliseconds between each timer.
|
TimerBuilder |
repeatCount(int repeatCount)
The maximum number of times the timer event is fired.
|
TimerBuilder |
timerId(String timerId)
Set the timer's id.
|
actions, getActions
build, description, execute, getActor, getDescription, getName, isDisabled, setDescription, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
public TimerBuilder(TestRunner runner, Timer container)
public TimerBuilder(TestRunner runner)
public TimerBuilder(TestDesigner designer, Timer container)
public TimerBuilder(TestDesigner designer)
public TimerBuilder delay(long delay)
delay
- public TimerBuilder interval(long interval)
interval
- public TimerBuilder repeatCount(int repeatCount)
repeatCount
- public TimerBuilder fork(boolean fork)
fork
- public TimerBuilder timerId(String timerId)
timerId
- a unique timer id within the test contextCopyright © 2008–2017 ConSol Software GmbH. All rights reserved.