Class ExtensionConnectivityUtils
java.lang.Object
org.mule.runtime.extension.internal.util.ExtensionConnectivityUtils
Utility methods for analyzing connectivity aspects of
ExtensionModel instances.- Since:
- 1.5
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisConnectionProvisioningRequired(org.mule.runtime.api.meta.model.ExtensionModel extensionModel, org.mule.runtime.api.meta.model.ConnectableComponentModel componentModel) static booleanisReconnectionStrategySupported(org.mule.runtime.api.meta.model.ConnectableComponentModel componentModel) static booleanisReconnectionStrategySupported(org.mule.runtime.api.meta.model.declaration.fluent.ExecutableComponentDeclaration<?> declaration) static booleanisReconnectionStrategySupported(org.mule.runtime.api.meta.model.declaration.fluent.ExtensionDeclaration declaration)
-
Method Details
-
isConnectionProvisioningRequired
public static boolean isConnectionProvisioningRequired(org.mule.runtime.api.meta.model.ExtensionModel extensionModel, org.mule.runtime.api.meta.model.ConnectableComponentModel componentModel) - Parameters:
componentModel- aConnectableComponentModel- Returns:
- Whether a component modeled by the given
componentModelwould need a connection to be provided in order to function.
-
isReconnectionStrategySupported
public static boolean isReconnectionStrategySupported(org.mule.runtime.api.meta.model.ConnectableComponentModel componentModel) - Parameters:
componentModel- anConnectableComponentModel- Returns:
- Whether the component modeled by the given
componentModelsupports having a reconnection strategy.
-
isReconnectionStrategySupported
public static boolean isReconnectionStrategySupported(org.mule.runtime.api.meta.model.declaration.fluent.ExtensionDeclaration declaration) - Parameters:
declaration- anExtensionDeclaration.- Returns:
- Whether the components belonging to the extension declared by the given
declarationsupport having a reconnection strategy.
-
isReconnectionStrategySupported
public static boolean isReconnectionStrategySupported(org.mule.runtime.api.meta.model.declaration.fluent.ExecutableComponentDeclaration<?> declaration) - Parameters:
declaration- anExecutableComponentDeclaration.- Returns:
- Whether the component declared by the given
declarationsupports having a reconnection strategy.
-