Package org.openqa.selenium.events.local
Class GuavaEventBus
- java.lang.Object
-
- org.openqa.selenium.events.local.GuavaEventBus
-
-
Constructor Summary
Constructors Constructor Description GuavaEventBus()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(Type type, java.util.function.Consumer<Event> onType)
void
close()
static GuavaEventBus
create(Config config)
void
fire(Event event)
-
-
-
Method Detail
-
addListener
public void addListener(Type type, java.util.function.Consumer<Event> onType)
- Specified by:
addListener
in interfaceEventBus
-
close
public void close()
-
create
public static GuavaEventBus create(Config config)
-
-