public abstract class AbstractMuleSdkExtensionModelLoadingMediator extends Object implements MuleSdkExtensionModelLoadingMediator
MuleSdkExtensionModelLoadingMediator.| Modifier and Type | Field and Description |
|---|---|
protected Optional<org.mule.runtime.api.artifact.ArtifactCoordinates> |
artifactCoordinates |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMuleSdkExtensionModelLoadingMediator(Optional<org.mule.runtime.api.artifact.ArtifactCoordinates> artifactCoordinates,
org.mule.runtime.api.metadata.ExpressionLanguageMetadataService expressionLanguageMetadataService) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCustomLoadingRequestParameters(org.mule.runtime.extension.api.loader.ExtensionModelLoadingRequest.Builder loadingRequestBuilder)
Allows for adding custom parameters to the loading request before the actual loading.
|
protected abstract boolean |
containsReusableComponents(org.mule.runtime.ast.api.ArtifactAst ast) |
protected abstract org.mule.runtime.extension.api.loader.ExtensionModelLoader |
getLoader() |
protected abstract String |
getVersion() |
Optional<org.mule.runtime.api.meta.model.ExtensionModel> |
loadExtensionModel(org.mule.runtime.ast.api.ArtifactAst ast,
ClassLoader classLoader,
Set<org.mule.runtime.api.meta.model.ExtensionModel> extensions) |
protected final Optional<org.mule.runtime.api.artifact.ArtifactCoordinates> artifactCoordinates
protected AbstractMuleSdkExtensionModelLoadingMediator(Optional<org.mule.runtime.api.artifact.ArtifactCoordinates> artifactCoordinates, org.mule.runtime.api.metadata.ExpressionLanguageMetadataService expressionLanguageMetadataService)
public Optional<org.mule.runtime.api.meta.model.ExtensionModel> loadExtensionModel(org.mule.runtime.ast.api.ArtifactAst ast, ClassLoader classLoader, Set<org.mule.runtime.api.meta.model.ExtensionModel> extensions) throws org.mule.runtime.core.api.config.ConfigurationException
loadExtensionModel in interface MuleSdkExtensionModelLoadingMediatorast - the artifact's ASTclassLoader - the artifact's classloaderextensions - the initial set of extensions the artifact depends on.ExtensionModel that represents the ast.org.mule.runtime.core.api.config.ConfigurationException - if the artifact couldn't be parsed.protected abstract String getVersion() throws org.mule.runtime.core.api.config.ConfigurationException
org.mule.runtime.core.api.config.ConfigurationException - if the version cannot be identified.protected abstract org.mule.runtime.extension.api.loader.ExtensionModelLoader getLoader()
throws org.mule.runtime.core.api.config.ConfigurationException
ExtensionModelLoader to use for loading the artifact's ExtensionModel.org.mule.runtime.core.api.config.ConfigurationException - if the expected loader is not available.protected void addCustomLoadingRequestParameters(org.mule.runtime.extension.api.loader.ExtensionModelLoadingRequest.Builder loadingRequestBuilder)
loadingRequestBuilder - The loading request builder to add parameters to.protected abstract boolean containsReusableComponents(org.mule.runtime.ast.api.ArtifactAst ast)
ast - The artifact's ArtifactAst.Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.