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)
LauncherDiscoveryListener
engineDiscoveryStarted
in class LauncherDiscoveryListener
engineId
- the unique ID of the engine descriptorpublic void engineDiscoveryFinished(UniqueId engineId, EngineDiscoveryResult result)
LauncherDiscoveryListener
Exceptions thrown by implementations of this method will cause the complete test discovery to be aborted.
engineDiscoveryFinished
in class LauncherDiscoveryListener
engineId
- the unique ID of the engine descriptorresult
- the discovery result of the supplied engineEngineDiscoveryResult
public void selectorProcessed(UniqueId engineId, DiscoverySelector selector, SelectorResolutionResult result)
EngineDiscoveryListener
Exceptions 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 selectorSelectorResolutionResult
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object