Class ExtensionConnectivityUtils

java.lang.Object
org.mule.runtime.extension.internal.util.ExtensionConnectivityUtils

public class ExtensionConnectivityUtils extends Object
Utility methods for analyzing connectivity aspects of ExtensionModel instances.
Since:
1.5
  • 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 - a ConnectableComponentModel
      Returns:
      Whether a component modeled by the given componentModel would 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 - an ConnectableComponentModel
      Returns:
      Whether the component modeled by the given componentModel supports having a reconnection strategy.
    • isReconnectionStrategySupported

      public static boolean isReconnectionStrategySupported(org.mule.runtime.api.meta.model.declaration.fluent.ExtensionDeclaration declaration)
      Parameters:
      declaration - an ExtensionDeclaration.
      Returns:
      Whether the components belonging to the extension declared by the given declaration support having a reconnection strategy.
    • isReconnectionStrategySupported

      public static boolean isReconnectionStrategySupported(org.mule.runtime.api.meta.model.declaration.fluent.ExecutableComponentDeclaration<?> declaration)
      Parameters:
      declaration - an ExecutableComponentDeclaration.
      Returns:
      Whether the component declared by the given declaration supports having a reconnection strategy.