class CompositeLauncherDiscoveryListener extends java.lang.Object implements LauncherDiscoveryListener
LauncherDiscoveryListeners.composite(List)| Modifier and Type | Field and Description |
|---|---|
private java.util.List<LauncherDiscoveryListener> |
listeners |
NOOP| Constructor and Description |
|---|
CompositeLauncherDiscoveryListener(java.util.List<LauncherDiscoveryListener> listeners) |
| 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.
|
void |
launcherDiscoveryFinished(LauncherDiscoveryRequest request)
Called when test discovery has finished.
|
void |
launcherDiscoveryStarted(LauncherDiscoveryRequest request)
Called when test discovery is about to be started.
|
void |
selectorProcessed(UniqueId engineId,
DiscoverySelector selector,
SelectorResolutionResult result)
Must be called after a discovery selector has been processed by a test
engine.
|
private final java.util.List<LauncherDiscoveryListener> listeners
CompositeLauncherDiscoveryListener(java.util.List<LauncherDiscoveryListener> listeners)
public void launcherDiscoveryStarted(LauncherDiscoveryRequest request)
LauncherDiscoveryListenerlauncherDiscoveryStarted in interface LauncherDiscoveryListenerrequest - the request for which discovery is being startedpublic void launcherDiscoveryFinished(LauncherDiscoveryRequest request)
LauncherDiscoveryListenerlauncherDiscoveryFinished in interface LauncherDiscoveryListenerrequest - the request for which discovery has finishedpublic void engineDiscoveryStarted(UniqueId engineId)
LauncherDiscoveryListenerengineDiscoveryStarted in interface 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 interface 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.
selectorProcessed in interface EngineDiscoveryListenerengineId - the unique ID of the engine descriptorselector - the processed selectorresult - the resolution result of the supplied engine and selectorSelectorResolutionResult