@NoImplement public interface ConnectivityTestingStrategy
Instances of ConnectivityTestingStrategy
will be discovered through SPI.
It's responsible to discover a mule component over the one connectivity testing can be done. Only one mule component for connectivity testing must exists for the strategy to work.
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Object connectivityTestingObject)
Determines if this
ConnectivityTestingStrategy must be applied over the provided object. |
ConnectionValidationResult |
testConnectivity(Object connectivityTestingObject)
Does connectivity validation over the provided mule component.
|
ConnectionValidationResult testConnectivity(Object connectivityTestingObject)
connectivityTestingObject
- object over the one connectivity testing must be doneConnectionValidationResult
describing the test connectivity result.boolean accepts(Object connectivityTestingObject)
ConnectivityTestingStrategy
must be applied over the provided object.connectivityTestingObject
- object over the one connectivity testing must be doneCopyright © 2018. All rights reserved.