public interface ApplicationModelFactory
ApplicationModel from the application.| Modifier and Type | Method and Description |
|---|---|
Optional<org.mule.runtime.ast.api.ArtifactAst> |
createApplicationModel(org.mule.runtime.deployment.model.api.DeployableArtifactDescriptor deployableArtifactDescriptor,
org.mule.runtime.ast.api.xml.AstXmlParser parser,
ClassLoader applicationClassLoader,
Function<org.mule.runtime.ast.api.ArtifactAst,UnaryOperator<String>> configurationPropertiesResolver)
Creates the
ArtifactAst from the artifact. |
Optional<org.mule.runtime.ast.api.ArtifactAst> |
createApplicationModel(org.mule.runtime.deployment.model.api.DeployableArtifactDescriptor deployableArtifactDescriptor,
Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionModels,
ClassLoader applicationClassLoader,
Function<org.mule.runtime.ast.api.ArtifactAst,UnaryOperator<String>> configurationPropertiesResolver,
Map<String,String> deploymentProperties)
Deprecated.
Use
#createApplicationModel(DeployableArtifactDescriptor, AstXmlParser, ClassLoader, ConfigurationProperties, Map)
instead |
Optional<org.mule.runtime.ast.api.ArtifactAst> createApplicationModel(org.mule.runtime.deployment.model.api.DeployableArtifactDescriptor deployableArtifactDescriptor, org.mule.runtime.ast.api.xml.AstXmlParser parser, ClassLoader applicationClassLoader, Function<org.mule.runtime.ast.api.ArtifactAst,UnaryOperator<String>> configurationPropertiesResolver)
ArtifactAst from the artifact.deployableArtifactDescriptor - DeployableArtifactDescriptor for artifact.astXmlParser - the XML parser to be used for generating the artifact model.applicationClassLoader - ClassLoader for the application to resolve resources.configurationPropertiesResolver - a function to obtain the resolver that corresponds to the given ArtifactAst.Optional ArtifactAst.Exception - if an error happens while generating the ArtifactAst.@Deprecated Optional<org.mule.runtime.ast.api.ArtifactAst> createApplicationModel(org.mule.runtime.deployment.model.api.DeployableArtifactDescriptor deployableArtifactDescriptor, Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionModels, ClassLoader applicationClassLoader, Function<org.mule.runtime.ast.api.ArtifactAst,UnaryOperator<String>> configurationPropertiesResolver, Map<String,String> deploymentProperties)
#createApplicationModel(DeployableArtifactDescriptor, AstXmlParser, ClassLoader, ConfigurationProperties, Map)
insteadArtifactAst from the artifact.deployableArtifactDescriptor - DeployableArtifactDescriptor for artifact.extensionModels - Set of extension models to be used for generating the
application model.applicationClassLoader - ClassLoader for the application to resolve resources.configurationPropertiesResolver - a function to obtain the resolver that corresponds to the given ArtifactAst.deploymentProperties - Map with the deployment properties for the artifact.Optional ArtifactAst.Exception - if an error happens while generating the ArtifactAst.Copyright © 2024 MuleSoft, Inc.. All rights reserved.