public class Timer extends AbstractActionContainer implements StopTimer
Modifier and Type | Field and Description |
---|---|
protected static String |
INDEX_SUFFIX |
protected boolean |
timerComplete |
protected CitrusRuntimeException |
timerException |
actions
description
Constructor and Description |
---|
Timer() |
Modifier and Type | Method and Description |
---|---|
void |
doExecute(TestContext context)
Subclasses may add custom execution logic here.
|
long |
getDelay() |
long |
getInterval() |
int |
getRepeatCount() |
String |
getTimerId() |
boolean |
isFork() |
void |
setDelay(long delay) |
void |
setFork(boolean fork) |
void |
setInterval(long interval) |
void |
setRepeatCount(int repeatCount) |
void |
setTimerId(String timerId) |
void |
stopTimer()
Sends a signal to the timer to stop.
|
addTestAction, getActionCount, getActionIndex, getActions, getLastExecutedAction, getTestAction, setActions, setLastExecutedAction
execute, getActor, getDescription, getName, isDisabled, setActor, setDescription, setName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, getActor, getDescription, getName, isDisabled, setDescription, setName
protected static final String INDEX_SUFFIX
protected boolean timerComplete
protected CitrusRuntimeException timerException
public void doExecute(TestContext context)
AbstractTestAction
doExecute
in class AbstractTestAction
public String getTimerId()
public void stopTimer()
StopTimer
public long getInterval()
public void setInterval(long interval)
public long getDelay()
public void setDelay(long delay)
public int getRepeatCount()
public void setRepeatCount(int repeatCount)
public void setTimerId(String timerId)
public boolean isFork()
public void setFork(boolean fork)
Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.