Class ImmutableExtensionModel
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.ImmutableExtensionModel
- All Implemented Interfaces:
org.mule.runtime.api.meta.DescribedObject,org.mule.runtime.api.meta.model.connection.HasConnectionProviderModels,org.mule.runtime.api.meta.model.construct.HasConstructModels,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.ExtensionModel,org.mule.runtime.api.meta.model.function.HasFunctionModels,org.mule.runtime.api.meta.model.HasExternalLibraries,org.mule.runtime.api.meta.model.operation.HasOperationModels,org.mule.runtime.api.meta.model.source.HasSourceModels,org.mule.runtime.api.meta.model.version.HasMinMuleVersion,org.mule.runtime.api.meta.NamedObject
public class ImmutableExtensionModel
extends AbstractComplexModel
implements org.mule.runtime.api.meta.model.ExtensionModel, org.mule.runtime.api.meta.model.function.HasFunctionModels
Immutable implementation of
ExtensionModel- Since:
- 1.0
-
Field Summary
Fields inherited from class org.mule.runtime.extension.api.model.AbstractImmutableModel
description, modelProperties -
Constructor Summary
ConstructorsConstructorDescriptionImmutableExtensionModel(String name, String description, String version, String vendor, org.mule.runtime.api.meta.Category category, List<org.mule.runtime.api.meta.model.config.ConfigurationModel> configurationModels, 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, List<org.mule.runtime.api.meta.model.function.FunctionModel> functions, List<org.mule.runtime.api.meta.model.construct.ConstructModel> constructModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.XmlDslModel xmlDslModel, Set<org.mule.runtime.api.meta.model.SubTypesModel> subTypes, Set<org.mule.metadata.api.model.ObjectType> types, Set<String> resources, Set<org.mule.runtime.api.meta.model.ImportedTypeModel> importedTypes, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, Set<String> privilegedPackages, Set<String> privilegedArtifacts, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties) Deprecated.This constructor is deprecated and will be removed in Mule 5.ImmutableExtensionModel(String name, String description, String version, String vendor, org.mule.runtime.api.meta.Category category, List<org.mule.runtime.api.meta.model.config.ConfigurationModel> configurationModels, 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, List<org.mule.runtime.api.meta.model.function.FunctionModel> functions, List<org.mule.runtime.api.meta.model.construct.ConstructModel> constructModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.XmlDslModel xmlDslModel, Set<org.mule.runtime.api.meta.model.SubTypesModel> subTypes, Set<org.mule.metadata.api.model.ObjectType> types, Set<String> resources, Set<org.mule.runtime.api.meta.model.ImportedTypeModel> importedTypes, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, Set<String> privilegedPackages, Set<String> privilegedArtifacts, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications) Creates a new instance with the given stateImmutableExtensionModel(String name, String description, String version, String vendor, org.mule.runtime.api.meta.Category category, List<org.mule.runtime.api.meta.model.config.ConfigurationModel> configurationModels, 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, List<org.mule.runtime.api.meta.model.function.FunctionModel> functions, List<org.mule.runtime.api.meta.model.construct.ConstructModel> constructModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.XmlDslModel xmlDslModel, Set<org.mule.runtime.api.meta.model.SubTypesModel> subTypes, Set<org.mule.metadata.api.model.ObjectType> types, Set<String> resources, Set<org.mule.runtime.api.meta.model.ImportedTypeModel> importedTypes, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, Set<String> privilegedPackages, Set<String> privilegedArtifacts, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel) Creates a new instance with the given stateImmutableExtensionModel(String name, String description, String version, String vendor, org.mule.runtime.api.meta.Category category, List<org.mule.runtime.api.meta.model.config.ConfigurationModel> configurationModels, 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, List<org.mule.runtime.api.meta.model.function.FunctionModel> functions, List<org.mule.runtime.api.meta.model.construct.ConstructModel> constructModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.XmlDslModel xmlDslModel, Set<org.mule.runtime.api.meta.model.SubTypesModel> subTypes, Set<org.mule.metadata.api.model.ObjectType> types, Set<String> resources, Set<org.mule.runtime.api.meta.model.ImportedTypeModel> importedTypes, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, Set<String> privilegedPackages, Set<String> privilegedArtifacts, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, org.mule.runtime.api.artifact.ArtifactCoordinates artifactCoordinates) Creates a new instance with the given stateImmutableExtensionModel(String name, String description, String version, String vendor, org.mule.runtime.api.meta.Category category, List<org.mule.runtime.api.meta.model.config.ConfigurationModel> configurationModels, 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, List<org.mule.runtime.api.meta.model.function.FunctionModel> functions, List<org.mule.runtime.api.meta.model.construct.ConstructModel> constructModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.XmlDslModel xmlDslModel, Set<org.mule.runtime.api.meta.model.SubTypesModel> subTypes, Set<org.mule.metadata.api.model.ObjectType> types, Set<String> resources, Set<org.mule.runtime.api.meta.model.ImportedTypeModel> importedTypes, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, Set<String> privilegedPackages, Set<String> privilegedArtifacts, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, org.mule.runtime.api.artifact.ArtifactCoordinates artifactCoordinates, org.mule.runtime.api.meta.MuleVersion minMuleVersion, Set<String> supportedJavaVersions) Creates a new instance with the given state -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.mule.runtime.api.meta.model.ComponentModel>findComponentModel(String componentName) Optional<org.mule.runtime.api.artifact.ArtifactCoordinates>org.mule.runtime.api.meta.CategoryOptional<org.mule.runtime.api.meta.model.config.ConfigurationModel>getConfigurationModel(String name) List<org.mule.runtime.api.meta.model.config.ConfigurationModel>Optional<org.mule.runtime.api.meta.model.construct.ConstructModel>getConstructModel(String name) List<org.mule.runtime.api.meta.model.construct.ConstructModel>Set<org.mule.runtime.api.meta.model.error.ErrorModel>Set<org.mule.runtime.api.meta.model.ExternalLibraryModel>Optional<org.mule.runtime.api.meta.model.function.FunctionModel>getFunctionModel(String name) List<org.mule.runtime.api.meta.model.function.FunctionModel>Set<org.mule.runtime.api.meta.model.ImportedTypeModel>Optional<org.mule.runtime.api.meta.MuleVersion>Set<org.mule.runtime.api.meta.model.notification.NotificationModel>Set<org.mule.runtime.api.meta.model.SubTypesModel>Set<org.mule.metadata.api.model.ObjectType>getTypes()org.mule.runtime.api.meta.model.XmlDslModeltoString()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.ExtensionModel
getConnectionProviders, getName, getOperationModels, getSourceModelsMethods inherited from interface org.mule.runtime.api.meta.model.connection.HasConnectionProviderModels
getConnectionProviderModelMethods inherited from interface org.mule.runtime.api.meta.model.display.HasDisplayModel
getDisplayModelMethods inherited from interface org.mule.runtime.api.meta.model.operation.HasOperationModels
getOperationModelMethods inherited from interface org.mule.runtime.api.meta.model.source.HasSourceModels
getSourceModel
-
Constructor Details
-
ImmutableExtensionModel
@Deprecated public ImmutableExtensionModel(String name, String description, String version, String vendor, org.mule.runtime.api.meta.Category category, List<org.mule.runtime.api.meta.model.config.ConfigurationModel> configurationModels, 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, List<org.mule.runtime.api.meta.model.function.FunctionModel> functions, List<org.mule.runtime.api.meta.model.construct.ConstructModel> constructModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.XmlDslModel xmlDslModel, Set<org.mule.runtime.api.meta.model.SubTypesModel> subTypes, Set<org.mule.metadata.api.model.ObjectType> types, Set<String> resources, Set<org.mule.runtime.api.meta.model.ImportedTypeModel> importedTypes, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, Set<String> privilegedPackages, Set<String> privilegedArtifacts, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties) Deprecated.This constructor is deprecated and will be removed in Mule 5. UseImmutableExtensionModel(String, String, String, String, Category, List, List, List, List, List, List, DisplayModel, XmlDslModel, Set, Set, Set, Set, Set, Set, Set, Set, Set, Set)insteadCreates a new instance with the given state- Parameters:
name- The extension's name. Cannot be blankdescription- The extension's descriptionversion- The extension's versionvendor- The extension's vendor namecategory- The extension'sCategoryconfigurationModels- AListwith the extension'sconfigurationModelsoperationModels- AListwith the extension'soperationModelsconnectionProviders- AListwith the extension'sconnection provider modelssourceModels- AListwith the extension'smessage source modelsfunctions- AListwith the extension'sfunction modelsdisplayModel- A model which contains directive about how the extension is displayed in the UIxmlDslModel- TheXmlDslModelwhich describes the XML languagesubTypes- ASetwith the sub types defined by this extensiontypes- ASetwith the custom types defined by this extensionresources- ASetwith the paths to all the resources exposed by this extensionimportedTypes- ASetofImportedTypeModelwhich describes the types that are imported from other extensionserrors- ASetofErrorModelwhich communicates the errors that the current extension handlesexternalLibraryModels- aSetwith the extension'sexternal librariesprivilegedPackages- aSetof Java package names to export on the extension's privileged API.privilegedArtifacts- aSetof artifact ID that have access to the extension's privileged API.modelProperties- ASetof custom properties which extend this model- Throws:
IllegalArgumentException- ifconfigurationsorParameterModelarenullor contain instances with non unique names, or ifnameis blank.
-
ImmutableExtensionModel
public ImmutableExtensionModel(String name, String description, String version, String vendor, org.mule.runtime.api.meta.Category category, List<org.mule.runtime.api.meta.model.config.ConfigurationModel> configurationModels, 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, List<org.mule.runtime.api.meta.model.function.FunctionModel> functions, List<org.mule.runtime.api.meta.model.construct.ConstructModel> constructModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.XmlDslModel xmlDslModel, Set<org.mule.runtime.api.meta.model.SubTypesModel> subTypes, Set<org.mule.metadata.api.model.ObjectType> types, Set<String> resources, Set<org.mule.runtime.api.meta.model.ImportedTypeModel> importedTypes, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, Set<String> privilegedPackages, Set<String> privilegedArtifacts, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications) Creates a new instance with the given state- Parameters:
name- The extension's name. Cannot be blankdescription- The extension's descriptionversion- The extension's versionvendor- The extension's vendor namecategory- The extension'sCategoryconfigurationModels- AListwith the extension'sconfigurationModelsoperationModels- AListwith the extension'soperationModelsconnectionProviders- AListwith the extension'sconnection provider modelssourceModels- AListwith the extension'smessage source modelsfunctions- AListwith the extension'sfunction modelsdisplayModel- A model which contains directive about how the extension is displayed in the UIxmlDslModel- TheXmlDslModelwhich describes the XML languagesubTypes- ASetwith the sub types defined by this extensiontypes- ASetwith the custom types defined by this extensionresources- ASetwith the paths to all the resources exposed by this extensionimportedTypes- ASetofImportedTypeModelwhich describes the types that are imported from other extensionserrors- ASetofErrorModelwhich communicates the errors that the current extension handlesexternalLibraryModels- aSetwith the extension'sexternal librariesprivilegedPackages- aSetof Java package names to export on the extension's privileged API.privilegedArtifacts- aSetof artifact ID that have access to the extension's privileged API.modelProperties- ASetof custom properties which extend this modelnotifications- ASetofNotificationModelwhich describes the extension's notifications- Throws:
IllegalArgumentException- ifconfigurationsorParameterModelarenullor contain instances with non unique names, or ifnameis blank.
-
ImmutableExtensionModel
public ImmutableExtensionModel(String name, String description, String version, String vendor, org.mule.runtime.api.meta.Category category, List<org.mule.runtime.api.meta.model.config.ConfigurationModel> configurationModels, 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, List<org.mule.runtime.api.meta.model.function.FunctionModel> functions, List<org.mule.runtime.api.meta.model.construct.ConstructModel> constructModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.XmlDslModel xmlDslModel, Set<org.mule.runtime.api.meta.model.SubTypesModel> subTypes, Set<org.mule.metadata.api.model.ObjectType> types, Set<String> resources, Set<org.mule.runtime.api.meta.model.ImportedTypeModel> importedTypes, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, Set<String> privilegedPackages, Set<String> privilegedArtifacts, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel) Creates a new instance with the given state- Parameters:
name- The extension's name. Cannot be blankdescription- The extension's descriptionversion- The extension's versionvendor- The extension's vendor namecategory- The extension'sCategoryconfigurationModels- AListwith the extension'sconfigurationModelsoperationModels- AListwith the extension'soperationModelsconnectionProviders- AListwith the extension'sconnection provider modelssourceModels- AListwith the extension'smessage source modelsfunctions- AListwith the extension'sfunction modelsdisplayModel- A model which contains directive about how the extension is displayed in the UIxmlDslModel- TheXmlDslModelwhich describes the XML languagesubTypes- ASetwith the sub types defined by this extensiontypes- ASetwith the custom types defined by this extensionresources- ASetwith the paths to all the resources exposed by this extensionimportedTypes- ASetofImportedTypeModelwhich describes the types that are imported from other extensionserrors- ASetofErrorModelwhich communicates the errors that the current extension handlesexternalLibraryModels- aSetwith the extension'sexternal librariesprivilegedPackages- aSetof Java package names to export on the extension's privileged API.privilegedArtifacts- aSetof artifact ID that have access to the extension's privileged API.modelProperties- ASetof custom properties which extend this modelnotifications- ASetofNotificationModelwhich describes the extension's notificationsdeprecationModel- aDeprecationModeldescribing if the extension is deprecated. A null value means it is not deprecated.- Throws:
IllegalArgumentException- ifconfigurationsorParameterModelarenullor contain instances with non unique names, or ifnameis blank.
-
ImmutableExtensionModel
public ImmutableExtensionModel(String name, String description, String version, String vendor, org.mule.runtime.api.meta.Category category, List<org.mule.runtime.api.meta.model.config.ConfigurationModel> configurationModels, 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, List<org.mule.runtime.api.meta.model.function.FunctionModel> functions, List<org.mule.runtime.api.meta.model.construct.ConstructModel> constructModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.XmlDslModel xmlDslModel, Set<org.mule.runtime.api.meta.model.SubTypesModel> subTypes, Set<org.mule.metadata.api.model.ObjectType> types, Set<String> resources, Set<org.mule.runtime.api.meta.model.ImportedTypeModel> importedTypes, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, Set<String> privilegedPackages, Set<String> privilegedArtifacts, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, org.mule.runtime.api.artifact.ArtifactCoordinates artifactCoordinates) Creates a new instance with the given state- Parameters:
name- The extension's name. Cannot be blankdescription- The extension's descriptionversion- The extension's versionvendor- The extension's vendor namecategory- The extension'sCategoryconfigurationModels- AListwith the extension'sconfigurationModelsoperationModels- AListwith the extension'soperationModelsconnectionProviders- AListwith the extension'sconnection provider modelssourceModels- AListwith the extension'smessage source modelsfunctions- AListwith the extension'sfunction modelsdisplayModel- A model which contains directive about how the extension is displayed in the UIxmlDslModel- TheXmlDslModelwhich describes the XML languagesubTypes- ASetwith the sub types defined by this extensiontypes- ASetwith the custom types defined by this extensionresources- ASetwith the paths to all the resources exposed by this extensionimportedTypes- ASetofImportedTypeModelwhich describes the types that are imported from other extensionserrors- ASetofErrorModelwhich communicates the errors that the current extension handlesexternalLibraryModels- aSetwith the extension'sexternal librariesprivilegedPackages- aSetof Java package names to export on the extension's privileged API.privilegedArtifacts- aSetof artifact ID that have access to the extension's privileged API.modelProperties- ASetof custom properties which extend this modelnotifications- ASetofNotificationModelwhich describes the extension's notificationsdeprecationModel- aDeprecationModeldescribing if the extension is deprecated. A null value means it is not deprecated.artifactCoordinates- The extension'sArtifactCoordinates- Throws:
IllegalArgumentException- ifconfigurationsorParameterModelarenullor contain instances with non unique names, or ifnameis blank.- Since:
- 1.5
-
ImmutableExtensionModel
public ImmutableExtensionModel(String name, String description, String version, String vendor, org.mule.runtime.api.meta.Category category, List<org.mule.runtime.api.meta.model.config.ConfigurationModel> configurationModels, 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, List<org.mule.runtime.api.meta.model.function.FunctionModel> functions, List<org.mule.runtime.api.meta.model.construct.ConstructModel> constructModels, org.mule.runtime.api.meta.model.display.DisplayModel displayModel, org.mule.runtime.api.meta.model.XmlDslModel xmlDslModel, Set<org.mule.runtime.api.meta.model.SubTypesModel> subTypes, Set<org.mule.metadata.api.model.ObjectType> types, Set<String> resources, Set<org.mule.runtime.api.meta.model.ImportedTypeModel> importedTypes, Set<org.mule.runtime.api.meta.model.error.ErrorModel> errors, Set<org.mule.runtime.api.meta.model.ExternalLibraryModel> externalLibraryModels, Set<String> privilegedPackages, Set<String> privilegedArtifacts, Set<org.mule.runtime.api.meta.model.ModelProperty> modelProperties, Set<org.mule.runtime.api.meta.model.notification.NotificationModel> notifications, org.mule.runtime.api.meta.model.deprecated.DeprecationModel deprecationModel, org.mule.runtime.api.artifact.ArtifactCoordinates artifactCoordinates, org.mule.runtime.api.meta.MuleVersion minMuleVersion, Set<String> supportedJavaVersions) Creates a new instance with the given state- Parameters:
name- The extension's name. Cannot be blankdescription- The extension's descriptionversion- The extension's versionvendor- The extension's vendor namecategory- The extension'sCategoryconfigurationModels- AListwith the extension'sconfigurationModelsoperationModels- AListwith the extension'soperationModelsconnectionProviders- AListwith the extension'sconnection provider modelssourceModels- AListwith the extension'smessage source modelsfunctions- AListwith the extension'sfunction modelsdisplayModel- A model which contains directive about how the extension is displayed in the UIxmlDslModel- TheXmlDslModelwhich describes the XML languagesubTypes- ASetwith the sub types defined by this extensiontypes- ASetwith the custom types defined by this extensionresources- ASetwith the paths to all the resources exposed by this extensionimportedTypes- ASetofImportedTypeModelwhich describes the types that are imported from other extensionserrors- ASetofErrorModelwhich communicates the errors that the current extension handlesexternalLibraryModels- aSetwith the extension'sexternal librariesprivilegedPackages- aSetof Java package names to export on the extension's privileged API.privilegedArtifacts- aSetof artifact ID that have access to the extension's privileged API.modelProperties- ASetof custom properties which extend this modelnotifications- ASetofNotificationModelwhich describes the extension's notificationsdeprecationModel- aDeprecationModeldescribing if the extension is deprecated. A null value means it is not deprecated.artifactCoordinates- The extension'sArtifactCoordinatesminMuleVersion- the min mule version of the extensionsupportedJavaVersions- the Java versions supported by this extension- Throws:
IllegalArgumentException- ifconfigurationsorParameterModelarenullor contain instances with non unique names, or ifnameis blank.- Since:
- 1.5
-
-
Method Details
-
getConfigurationModels
- Specified by:
getConfigurationModelsin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
getConfigurationModel
public Optional<org.mule.runtime.api.meta.model.config.ConfigurationModel> getConfigurationModel(String name) - Specified by:
getConfigurationModelin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
getConstructModels
- Specified by:
getConstructModelsin interfaceorg.mule.runtime.api.meta.model.construct.HasConstructModels
-
getConstructModel
public Optional<org.mule.runtime.api.meta.model.construct.ConstructModel> getConstructModel(String name) - Specified by:
getConstructModelin interfaceorg.mule.runtime.api.meta.model.construct.HasConstructModels
-
getFunctionModels
- Specified by:
getFunctionModelsin interfaceorg.mule.runtime.api.meta.model.function.HasFunctionModels
-
getFunctionModel
public Optional<org.mule.runtime.api.meta.model.function.FunctionModel> getFunctionModel(String name) - Specified by:
getFunctionModelin interfaceorg.mule.runtime.api.meta.model.function.HasFunctionModels
-
getVersion
- Specified by:
getVersionin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
getVendor
- Specified by:
getVendorin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
getCategory
public org.mule.runtime.api.meta.Category getCategory()- Specified by:
getCategoryin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
getTypes
- Specified by:
getTypesin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
getPrivilegedPackages
- Specified by:
getPrivilegedPackagesin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
getPrivilegedArtifacts
- Specified by:
getPrivilegedArtifactsin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
getResources
- Specified by:
getResourcesin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
getImportedTypes
- Specified by:
getImportedTypesin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
getXmlDslModel
public org.mule.runtime.api.meta.model.XmlDslModel getXmlDslModel()- Specified by:
getXmlDslModelin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
getSubTypes
- Specified by:
getSubTypesin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
getErrorModels
- Specified by:
getErrorModelsin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
getNotificationModels
- Specified by:
getNotificationModelsin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
getExternalLibraryModels
- Specified by:
getExternalLibraryModelsin interfaceorg.mule.runtime.api.meta.model.HasExternalLibraries
-
findComponentModel
public Optional<org.mule.runtime.api.meta.model.ComponentModel> findComponentModel(String componentName) - Specified by:
findComponentModelin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
getArtifactCoordinates
- Specified by:
getArtifactCoordinatesin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
getMinMuleVersion
- Specified by:
getMinMuleVersionin interfaceorg.mule.runtime.api.meta.model.version.HasMinMuleVersion
-
getSupportedJavaVersions
- Specified by:
getSupportedJavaVersionsin interfaceorg.mule.runtime.api.meta.model.ExtensionModel
-
toString
- Overrides:
toStringin classAbstractComplexModel
-