Class ImmutableConnectionProviderModel

All Implemented Interfaces:
org.mule.runtime.api.meta.DescribedObject, org.mule.runtime.api.meta.model.connection.ConnectionProviderModel, org.mule.runtime.api.meta.model.declaration.fluent.HasSemanticTerms, org.mule.runtime.api.meta.model.deprecated.DeprecableModel, org.mule.runtime.api.meta.model.display.HasDisplayModel, org.mule.runtime.api.meta.model.EnrichableModel, org.mule.runtime.api.meta.model.HasExternalLibraries, org.mule.runtime.api.meta.model.parameter.ParameterizedModel, org.mule.runtime.api.meta.model.stereotype.HasStereotypeModel, org.mule.runtime.api.meta.model.version.HasMinMuleVersion, org.mule.runtime.api.meta.NamedObject

public class ImmutableConnectionProviderModel extends AbstractStereotypedModel implements org.mule.runtime.api.meta.model.connection.ConnectionProviderModel
Immutable implementation of ConnectionProviderModel
Since:
1.0
  • Field Summary

    Fields inherited from class org.mule.runtime.extension.api.model.AbstractImmutableModel

    description, modelProperties
  • Constructor Summary

    Constructors
    Constructor
    Description
    ImmutableConnectionProviderModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.connection.ConnectionManagementType connectionManagementType, boolean supportsConnectivityTesting, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
    Creates a new instance with the given state
    ImmutableConnectionProviderModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.connection.ConnectionManagementType connectionManagementType, boolean supportsConnectivityTesting, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel)
    Creates a new instance with the given state
    ImmutableConnectionProviderModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.connection.ConnectionManagementType connectionManagementType, boolean supportsConnectivityTesting, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, Set<String> semanticTerms)
    Creates a new instance with the given state
    ImmutableConnectionProviderModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.connection.ConnectionManagementType connectionManagementType, boolean supportsConnectivityTesting, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, Set<String> semanticTerms, org.mule.runtime.api.meta.MuleVersion minMuleVersion)
    Creates a new instance with the given state
  • Method Summary

    Modifier and Type
    Method
    Description
    org.mule.runtime.api.meta.model.connection.ConnectionManagementType
    Set<org.mule.runtime.api.meta.model.ExternalLibraryModel>
    boolean
     

    Methods inherited from class org.mule.runtime.extension.api.model.parameter.AbstractStereotypedModel

    getDeprecationModel, getMinMuleVersion, getStereotype, isDeprecated

    Methods inherited from class org.mule.runtime.extension.api.model.parameter.AbstractParameterizedModel

    getParameterGroupModels

    Methods inherited from class org.mule.runtime.extension.api.model.AbstractNamedImmutableModel

    checkArgument, equals, getDisplayModel, getName, hashCode

    Methods inherited from class org.mule.runtime.extension.api.model.AbstractImmutableModel

    copy, copy, getDescription, getModelProperties, getModelProperty

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.mule.runtime.api.meta.model.deprecated.DeprecableModel

    getDeprecationModel, isDeprecated

    Methods inherited from interface org.mule.runtime.api.meta.DescribedObject

    getDescription

    Methods inherited from interface org.mule.runtime.api.meta.model.EnrichableModel

    getModelProperties, getModelProperty

    Methods inherited from interface org.mule.runtime.api.meta.model.display.HasDisplayModel

    getDisplayModel

    Methods inherited from interface org.mule.runtime.api.meta.model.version.HasMinMuleVersion

    getMinMuleVersion

    Methods inherited from interface org.mule.runtime.api.meta.model.stereotype.HasStereotypeModel

    getStereotype

    Methods inherited from interface org.mule.runtime.api.meta.NamedObject

    getName

    Methods inherited from interface org.mule.runtime.api.meta.model.parameter.ParameterizedModel

    getAllParameterModels, getParameterGroupModels
  • Constructor Details

    • ImmutableConnectionProviderModel

      public ImmutableConnectionProviderModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.connection.ConnectionManagementType connectionManagementType, boolean supportsConnectivityTesting, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties)
      Creates a new instance with the given state
      Parameters:
      name - the provider's name
      description - the provider's description
      parameterGroupModels - a List with the provider's parameter group models
      connectionManagementType - the type of connection management that the provider performs
      supportsConnectivityTesting - whether this provider supports connectivity testing or not
      externalLibraryModels - a Set with the provider's external libraries
      displayModel - a model which contains directive about how this provider is displayed in the UI
      modelProperties - A Set of custom properties which extend this model
      Throws:
      IllegalArgumentException - if connectionProviderFactory, configurationType or connectionType are null
    • ImmutableConnectionProviderModel

      public ImmutableConnectionProviderModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.connection.ConnectionManagementType connectionManagementType, boolean supportsConnectivityTesting, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel)
      Creates a new instance with the given state
      Parameters:
      name - the provider's name
      description - the provider's description
      parameterGroupModels - a List with the provider's parameter group models
      connectionManagementType - the type of connection management that the provider performs
      supportsConnectivityTesting - whether this provider supports connectivity testing or not
      externalLibraryModels - a Set with the provider's external libraries
      displayModel - a model which contains directive about how this provider is displayed in the UI
      modelProperties - A Set of custom properties which extend this model
      Throws:
      IllegalArgumentException - if connectionProviderFactory, configurationType or connectionType are null
    • ImmutableConnectionProviderModel

      public ImmutableConnectionProviderModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.connection.ConnectionManagementType connectionManagementType, boolean supportsConnectivityTesting, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, Set<String> semanticTerms)
      Creates a new instance with the given state
      Parameters:
      name - the provider's name
      description - the provider's description
      parameterGroupModels - a List with the provider's parameter group models
      connectionManagementType - the type of connection management that the provider performs
      supportsConnectivityTesting - whether this provider supports connectivity testing or not
      externalLibraryModels - a Set with the provider's external libraries
      displayModel - a model which contains directive about how this provider is displayed in the UI
      modelProperties - A Set of custom properties which extend this model
      semanticTerms - a Set of semantic terms which describes the connection's meaning and effect
      Throws:
      IllegalArgumentException - if connectionProviderFactory, configurationType or connectionType are null
      Since:
      1.4.0
    • ImmutableConnectionProviderModel

      public ImmutableConnectionProviderModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, org.mule.runtime.api.meta.model.connection.ConnectionManagementType connectionManagementType, boolean supportsConnectivityTesting, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.stereotype.StereotypeModel stereotype, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, Set<String> semanticTerms, org.mule.runtime.api.meta.MuleVersion minMuleVersion)
      Creates a new instance with the given state
      Parameters:
      name - the provider's name
      description - the provider's description
      parameterGroupModels - a List with the provider's parameter group models
      connectionManagementType - the type of connection management that the provider performs
      supportsConnectivityTesting - whether this provider supports connectivity testing or not
      externalLibraryModels - a Set with the provider's external libraries
      displayModel - a model which contains directive about how this provider is displayed in the UI
      modelProperties - A Set of custom properties which extend this model
      semanticTerms - a Set of semantic terms which describes the connection's meaning and effect
      minMuleVersion - the min mule version of the connection provider
      Throws:
      IllegalArgumentException - if connectionProviderFactory, configurationType or connectionType are null
      Since:
      1.5.0
  • Method Details

    • getConnectionManagementType

      public org.mule.runtime.api.meta.model.connection.ConnectionManagementType getConnectionManagementType()
      Specified by:
      getConnectionManagementType in interface org.mule.runtime.api.meta.model.connection.ConnectionProviderModel
    • getExternalLibraryModels

      public Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> getExternalLibraryModels()
      Specified by:
      getExternalLibraryModels in interface org.mule.runtime.api.meta.model.HasExternalLibraries
    • supportsConnectivityTesting

      public boolean supportsConnectivityTesting()
      Specified by:
      supportsConnectivityTesting in interface org.mule.runtime.api.meta.model.connection.ConnectionProviderModel
    • getSemanticTerms

      public Set<String> getSemanticTerms()
      Specified by:
      getSemanticTerms in interface org.mule.runtime.api.meta.model.declaration.fluent.HasSemanticTerms
      Since:
      1.4.0
    • toString

      public String toString()
      Overrides:
      toString in class AbstractStereotypedModel