class AbortOnFailureLauncherDiscoveryListener extends LauncherDiscoveryListener
LauncherDiscoveryListeners.abortOnFailure()
NOOP
Constructor and Description |
---|
AbortOnFailureLauncherDiscoveryListener() |
Modifier and Type | Method and Description |
---|---|
void |
engineDiscoveryFinished(UniqueId engineId,
EngineDiscoveryResult result)
Called when test discovery has finished 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.
|
engineDiscoveryStarted
AbortOnFailureLauncherDiscoveryListener()
public 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