Class ImmutableConfigurationModel
java.lang.Object
org.mule.runtime.extension.api.model.AbstractImmutableModel
org.mule.runtime.extension.api.model.AbstractNamedImmutableModel
org.mule.runtime.extension.api.model.AbstractComplexModel
org.mule.runtime.extension.api.model.config.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
ConstructorsConstructorDescriptionImmutableConfigurationModel(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 stateImmutableConfigurationModel(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 stateImmutableConfigurationModel(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
Methods inherited from class org.mule.runtime.extension.api.model.AbstractComplexModel
findModel, getConnectionProviderModel, getConnectionProviders, getDeprecationModel, getOperationModel, getOperationModels, getSourceModel, getSourceModels, isDeprecated, toList, uniqueMethods inherited from class org.mule.runtime.extension.api.model.AbstractNamedImmutableModel
checkArgument, equals, getDisplayModel, getName, hashCodeMethods inherited from class org.mule.runtime.extension.api.model.AbstractImmutableModel
copy, copy, getDescription, getModelProperties, getModelPropertyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.mule.runtime.api.meta.model.deprecated.DeprecableModel
getDeprecationModel, isDeprecatedMethods inherited from interface org.mule.runtime.api.meta.DescribedObject
getDescriptionMethods inherited from interface org.mule.runtime.api.meta.model.EnrichableModel
getModelProperties, getModelPropertyMethods inherited from interface org.mule.runtime.api.meta.model.connection.HasConnectionProviderModels
getConnectionProviderModel, getConnectionProvidersMethods inherited from interface org.mule.runtime.api.meta.model.display.HasDisplayModel
getDisplayModelMethods inherited from interface org.mule.runtime.api.meta.model.operation.HasOperationModels
getOperationModel, getOperationModelsMethods inherited from interface org.mule.runtime.api.meta.model.source.HasSourceModels
getSourceModel, getSourceModelsMethods inherited from interface org.mule.runtime.api.meta.NamedObject
getNameMethods 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 namedescription- the configuration's descriptionparameterGroupModels- aListwith the configuration'sparameter group modelsoperationModels- aListwith the configuration'soperationModelsconnectionProviders- aListwith the configuration'sconnection provider modelssourceModels- aListwith the configuration'smessage source modelsexternalLibraryModels- aSetwith the configuration'sexternal librariesdisplayModel- a model which contains directive about how this configuration is displayed in the UImodelProperties- aSetof custom properties which extend this model- Throws:
IllegalArgumentException- ifnameis blank orconfigurationFactoryisnull
-
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 namedescription- the configuration's descriptionparameterGroupModels- aListwith the configuration'sparameter group modelsoperationModels- aListwith the configuration'soperationModelsconnectionProviders- aListwith the configuration'sconnection provider modelssourceModels- aListwith the configuration'smessage source modelsexternalLibraryModels- aSetwith the configuration'sexternal librariesdisplayModel- a model which contains directive about how this configuration is displayed in the UImodelProperties- aSetof custom properties which extend this modeldeprecationModel- aDeprecationModeldescribing if the configuration is deprecated. A null value means it is not deprecated.- Throws:
IllegalArgumentException- ifnameis blank orconfigurationFactoryisnull
-
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 namedescription- the configuration's descriptionparameterGroupModels- aListwith the configuration'sparameter group modelsoperationModels- aListwith the configuration'soperationModelsconnectionProviders- aListwith the configuration'sconnection provider modelssourceModels- aListwith the configuration'smessage source modelsexternalLibraryModels- aSetwith the configuration'sexternal librariesdisplayModel- a model which contains directive about how this configuration is displayed in the UImodelProperties- aSetof custom properties which extend this modeldeprecationModel- aDeprecationModeldescribing if the configuration is deprecated. A null value means it is not deprecated.minMuleVersion- the min mule version of the configuration- Throws:
IllegalArgumentException- ifnameis blank orconfigurationFactoryisnull- Since:
- 1.5
-
-
Method Details
-
getParameterGroupModels
public List<org.mule.runtime.api.meta.model.parameter.ParameterGroupModel> getParameterGroupModels()- Specified by:
getParameterGroupModelsin interfaceorg.mule.runtime.api.meta.model.parameter.ParameterizedModel
-
getExternalLibraryModels
- Specified by:
getExternalLibraryModelsin interfaceorg.mule.runtime.api.meta.model.HasExternalLibraries
-
getStereotype
public org.mule.runtime.api.meta.model.stereotype.StereotypeModel getStereotype()- Specified by:
getStereotypein interfaceorg.mule.runtime.api.meta.model.stereotype.HasStereotypeModel
-
getMinMuleVersion
- Specified by:
getMinMuleVersionin interfaceorg.mule.runtime.api.meta.model.version.HasMinMuleVersion
-
toString
- Overrides:
toStringin classAbstractComplexModel
-