class LoggingLauncherDiscoveryListener extends LauncherDiscoveryListener
LauncherDiscoveryListeners.logging()| Modifier and Type | Field and Description |
|---|---|
private static Logger |
logger |
NOOP| Constructor and Description |
|---|
LoggingLauncherDiscoveryListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
engineDiscoveryFinished(UniqueId engineId,
EngineDiscoveryResult result)
Called when test discovery has finished for an engine.
|
void |
engineDiscoveryStarted(UniqueId engineId)
Called when test discovery is about to be started for an engine.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
selectorProcessed(UniqueId engineId,
DiscoverySelector selector,
SelectorResolutionResult result)
Must be called after a discovery selector has been processed by a test
engine.
|
private static final Logger logger
public void engineDiscoveryStarted(UniqueId engineId)
LauncherDiscoveryListenerengineDiscoveryStarted in class LauncherDiscoveryListenerengineId - the unique ID of the engine descriptorpublic void engineDiscoveryFinished(UniqueId engineId, EngineDiscoveryResult result)
LauncherDiscoveryListenerExceptions thrown by implementations of this method will cause the complete test discovery to be aborted.
engineDiscoveryFinished in class LauncherDiscoveryListenerengineId - the unique ID of the engine descriptorresult - the discovery result of the supplied engineEngineDiscoveryResultpublic void selectorProcessed(UniqueId engineId, DiscoverySelector selector, SelectorResolutionResult result)
EngineDiscoveryListenerExceptions thrown by implementations of this method will cause test discovery of the current engine to be aborted.
engineId - the unique ID of the engine descriptorselector - the processed selectorresult - the resolution result of the supplied engine and selectorSelectorResolutionResultpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object