public class ConsoleEventHandler extends Object implements com.google.devtools.build.lib.events.EventHandler
ConsoleEvent
the provided event busConstructor and Description |
---|
ConsoleEventHandler(BuckEventBus eventBus,
Set<com.google.devtools.build.lib.events.EventKind> supportedEvents,
com.google.common.collect.ImmutableSet<String> nativeModuleFunctionNames,
HumanReadableExceptionAugmentor humanReadableExceptionAugmentor)
Create an instance of
ConsoleEventHandler that posts to eventBus |
Modifier and Type | Method and Description |
---|---|
void |
handle(com.google.devtools.build.lib.events.Event event) |
public ConsoleEventHandler(BuckEventBus eventBus, Set<com.google.devtools.build.lib.events.EventKind> supportedEvents, com.google.common.collect.ImmutableSet<String> nativeModuleFunctionNames, HumanReadableExceptionAugmentor humanReadableExceptionAugmentor)
ConsoleEventHandler
that posts to eventBus
eventBus
- The event bus to post ConsoleEvent
tosupportedEvents
- The events that should post to the event bushumanReadableExceptionAugmentor
-