| Modifier and Type | Field and Description |
|---|---|
float |
m_pauseInterval
The interval (in seconds) that the hook will wait before
the next event is printed
|
| Constructor and Description |
|---|
PrintHook()
Creates a new print hook that will print its events to the standard
output
|
PrintHook(java.io.PrintStream stream)
Creates a new print hook that will print its events to a
print stream
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute(T event) |
void |
reset() |
void |
setDriver(TestDriver<T,java.lang.Object> driver) |
void |
setPauseInterval(float seconds)
Sets the interval that the hook will wait before
the next event is printed
|
public float m_pauseInterval
public PrintHook()
public PrintHook(java.io.PrintStream stream)
stream - The streampublic void setPauseInterval(float seconds)
seconds - The interval in seconds. Set to 0 or a negative
value for no pausepublic java.lang.Object execute(T event)
public void reset()
Copyright © Sylvain HallĂ©. All Rights Reserved.