public interface ConnectivityTestingStrategy
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. |
org.mule.runtime.api.connection.ConnectionValidationResult |
testConnectivity(Object connectivityTestingObject)
Does connectivity validation over the provided mule component.
|
org.mule.runtime.api.connection.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 © 2003–2017 MuleSoft, Inc.. All rights reserved.