Class ImmutableConfigurationModel

All Implemented Interfaces:
org.mule.runtime.api.meta.DescribedObject, org.mule.runtime.api.meta.model.config.ConfigurationModel, org.mule.runtime.api.meta.model.connection.HasConnectionProviderModels, 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.operation.HasOperationModels, org.mule.runtime.api.meta.model.parameter.ParameterizedModel, org.mule.runtime.api.meta.model.source.HasSourceModels, org.mule.runtime.api.meta.model.stereotype.HasStereotypeModel, org.mule.runtime.api.meta.model.version.HasMinMuleVersion, org.mule.runtime.api.meta.NamedObject

public class ImmutableConfigurationModel extends AbstractComplexModel implements org.mule.runtime.api.meta.model.config.ConfigurationModel
Immutable implementation of ConfigurationModel
Since:
1.0
  • Field Summary

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

    description, modelProperties
  • Constructor Summary

    Constructors
    Constructor
    Description
    ImmutableConfigurationModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<org.mule.runtime.api.meta.model.operation.OperationModel> operationModels, List<org.mule.runtime.api.meta.model.connection.ConnectionProviderModel> connectionProviders, List<org.mule.runtime.api.meta.model.source.SourceModel> sourceModels, 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
    ImmutableConfigurationModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<org.mule.runtime.api.meta.model.operation.OperationModel> operationModels, List<org.mule.runtime.api.meta.model.connection.ConnectionProviderModel> connectionProviders, List<org.mule.runtime.api.meta.model.source.SourceModel> sourceModels, 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
    ImmutableConfigurationModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<org.mule.runtime.api.meta.model.operation.OperationModel> operationModels, List<org.mule.runtime.api.meta.model.connection.ConnectionProviderModel> connectionProviders, List<org.mule.runtime.api.meta.model.source.SourceModel> sourceModels, 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, org.mule.runtime.api.meta.MuleVersion minMuleVersion)
    Creates a new instance with the given state
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<org.mule.runtime.api.meta.model.ExternalLibraryModel>
    Optional<org.mule.runtime.api.meta.MuleVersion>
    List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel>
    org.mule.runtime.api.meta.model.stereotype.StereotypeModel
     

    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.connection.HasConnectionProviderModels

    getConnectionProviderModel, getConnectionProviders

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

    getDisplayModel

    Methods inherited from interface org.mule.runtime.api.meta.model.operation.HasOperationModels

    getOperationModel, getOperationModels

    Methods inherited from interface org.mule.runtime.api.meta.model.source.HasSourceModels

    getSourceModel, getSourceModels

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

    getName

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

    getAllParameterModels
  • Constructor Details

    • ImmutableConfigurationModel

      public ImmutableConfigurationModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<org.mule.runtime.api.meta.model.operation.OperationModel> operationModels, List<org.mule.runtime.api.meta.model.connection.ConnectionProviderModel> connectionProviders, List<org.mule.runtime.api.meta.model.source.SourceModel> sourceModels, 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 configuration's name
      description - the configuration's description
      parameterGroupModels - a List with the configuration's parameter group models
      operationModels - a List with the configuration's operationModels
      connectionProviders - a List with the configuration's connection provider models
      sourceModels - a List with the configuration's message source models
      externalLibraryModels - a Set with the configuration's external libraries
      displayModel - a model which contains directive about how this configuration is displayed in the UI
      modelProperties - a Set of custom properties which extend this model
      Throws:
      IllegalArgumentException - if name is blank or configurationFactory is null
    • ImmutableConfigurationModel

      public ImmutableConfigurationModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<org.mule.runtime.api.meta.model.operation.OperationModel> operationModels, List<org.mule.runtime.api.meta.model.connection.ConnectionProviderModel> connectionProviders, List<org.mule.runtime.api.meta.model.source.SourceModel> sourceModels, 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 configuration's name
      description - the configuration's description
      parameterGroupModels - a List with the configuration's parameter group models
      operationModels - a List with the configuration's operationModels
      connectionProviders - a List with the configuration's connection provider models
      sourceModels - a List with the configuration's message source models
      externalLibraryModels - a Set with the configuration's external libraries
      displayModel - a model which contains directive about how this configuration is displayed in the UI
      modelProperties - a Set of custom properties which extend this model
      deprecationModel - a DeprecationModel describing if the configuration is deprecated. A null value means it is not deprecated.
      Throws:
      IllegalArgumentException - if name is blank or configurationFactory is null
    • ImmutableConfigurationModel

      public ImmutableConfigurationModel(String name, String description, List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> parameterGroupModels, List<org.mule.runtime.api.meta.model.operation.OperationModel> operationModels, List<org.mule.runtime.api.meta.model.connection.ConnectionProviderModel> connectionProviders, List<org.mule.runtime.api.meta.model.source.SourceModel> sourceModels, 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, org.mule.runtime.api.meta.MuleVersion minMuleVersion)
      Creates a new instance with the given state
      Parameters:
      name - the configuration's name
      description - the configuration's description
      parameterGroupModels - a List with the configuration's parameter group models
      operationModels - a List with the configuration's operationModels
      connectionProviders - a List with the configuration's connection provider models
      sourceModels - a List with the configuration's message source models
      externalLibraryModels - a Set with the configuration's external libraries
      displayModel - a model which contains directive about how this configuration is displayed in the UI
      modelProperties - a Set of custom properties which extend this model
      deprecationModel - a DeprecationModel describing if the configuration is deprecated. A null value means it is not deprecated.
      minMuleVersion - the min mule version of the configuration
      Throws:
      IllegalArgumentException - if name is blank or configurationFactory is null
      Since:
      1.5
  • Method Details

    • getParameterGroupModels

      public List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> getParameterGroupModels()
      Specified by:
      getParameterGroupModels in interface org.mule.runtime.api.meta.model.parameter.ParameterizedModel
    • getExternalLibraryModels

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

      public org.mule.runtime.api.meta.model.stereotype.StereotypeModel getStereotype()
      Specified by:
      getStereotype in interface org.mule.runtime.api.meta.model.stereotype.HasStereotypeModel
    • getMinMuleVersion

      public Optional<org.mule.runtime.api.meta.MuleVersion> getMinMuleVersion()
      Specified by:
      getMinMuleVersion in interface org.mule.runtime.api.meta.model.version.HasMinMuleVersion
    • toString

      public String toString()
      Overrides:
      toString in class AbstractComplexModel