public final class CommandReader extends Object
Modifier and Type | Method and Description |
---|---|
void |
addByeAckListener(CommandListener listener) |
void |
addListener(CommandListener listener) |
void |
addNoopListener(CommandListener listener) |
void |
addShutdownListener(CommandListener listener) |
void |
addSkipNextTestsListener(CommandListener listener) |
void |
addTestListener(CommandListener listener) |
void |
addTestsFinishedListener(CommandListener listener) |
boolean |
awaitStarted() |
static CommandReader |
getReader() |
void |
removeListener(CommandListener listener) |
CommandReader |
setLogger(ConsoleLogger logger) |
CommandReader |
setShutdown(Shutdown shutdown) |
void |
stop() |
public static CommandReader getReader()
public CommandReader setShutdown(Shutdown shutdown)
public CommandReader setLogger(ConsoleLogger logger)
public boolean awaitStarted() throws TestSetFailedException
TestSetFailedException
public void addListener(CommandListener listener)
listener
- listener called with Any command type
public void addTestListener(CommandListener listener)
public void addTestsFinishedListener(CommandListener listener)
public void addSkipNextTestsListener(CommandListener listener)
public void addShutdownListener(CommandListener listener)
public void addNoopListener(CommandListener listener)
public void addByeAckListener(CommandListener listener)
public void removeListener(CommandListener listener)
public void stop()
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.