public class EventBusCollectorImpl extends Object implements EventBusCollector, Handler<Message<JsonObject>>
EVENT_TEST_CASE_BEGIN, EVENT_TEST_CASE_END, EVENT_TEST_SUITE_BEGIN, EVENT_TEST_SUITE_END, EVENT_TEST_SUITE_ERROR| Constructor and Description |
|---|
EventBusCollectorImpl(Vertx vertx,
Handler<TestSuiteReport> reporter) |
| Modifier and Type | Method and Description |
|---|---|
Handler<Message<JsonObject>> |
asMessageHandler() |
void |
handle(Message<JsonObject> event)
Something has happened, so handle it.
|
MessageConsumer<JsonObject> |
register(String address)
Register the collector as a consumer of the event bus with the specified address.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createpublic EventBusCollectorImpl(Vertx vertx, Handler<TestSuiteReport> reporter)
public void handle(Message<JsonObject> event)
Handlerhandle in interface Handler<Message<JsonObject>>event - the event to handlepublic MessageConsumer<JsonObject> register(String address)
EventBusCollectorregister in interface EventBusCollectoraddress - the registration addresspublic Handler<Message<JsonObject>> asMessageHandler()
asMessageHandler in interface EventBusCollectorCopyright © 2020. All rights reserved.