@Deprecated public class DefaultExtensionDiscoveryRequest extends Object implements ExtensionDiscoveryRequest
ExtensionDiscoveryRequest.ExtensionDiscoveryRequestBuilder| Constructor and Description |
|---|
DefaultExtensionDiscoveryRequest(ExtensionModelLoaderRepository loaderRepository,
List<org.mule.runtime.api.util.Pair<ArtifactPluginDescriptor,ArtifactClassLoader>> artifactPlugins,
Set<org.mule.runtime.api.meta.model.ExtensionModel> parentArtifactExtensions,
boolean parallelDiscovery,
boolean enrichDescriptions)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<org.mule.runtime.api.util.Pair<ArtifactPluginDescriptor,ArtifactClassLoader>> |
getArtifactPlugins()
Deprecated.
|
ExtensionModelLoaderRepository |
getLoaderRepository()
Deprecated.
|
Set<org.mule.runtime.api.meta.model.ExtensionModel> |
getParentArtifactExtensions()
Deprecated.
|
boolean |
isEnrichDescriptions()
Deprecated.
|
boolean |
isParallelDiscovery()
Deprecated.
Parallel discovery will try to parallelize only the discovery for extensions that do not depend on the DSL of other
extensions.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderpublic DefaultExtensionDiscoveryRequest(ExtensionModelLoaderRepository loaderRepository, List<org.mule.runtime.api.util.Pair<ArtifactPluginDescriptor,ArtifactClassLoader>> artifactPlugins, Set<org.mule.runtime.api.meta.model.ExtensionModel> parentArtifactExtensions, boolean parallelDiscovery, boolean enrichDescriptions)
public ExtensionModelLoaderRepository getLoaderRepository()
getLoaderRepository in interface ExtensionDiscoveryRequestExtensionModelLoaderRepository with the available extension loaders.public List<org.mule.runtime.api.util.Pair<ArtifactPluginDescriptor,ArtifactClassLoader>> getArtifactPlugins()
getArtifactPlugins in interface ExtensionDiscoveryRequestPair of ArtifactPluginDescriptor and ArtifactClassLoader for artifact plugins deployed inside
the artifact. Non null.public Set<org.mule.runtime.api.meta.model.ExtensionModel> getParentArtifactExtensions()
getParentArtifactExtensions in interface ExtensionDiscoveryRequestSet of ExtensionModel to also take into account when parsing extensionspublic boolean isParallelDiscovery()
ExtensionDiscoveryRequest
Parallelism is achieved using the fork-join pool.
isParallelDiscovery in interface ExtensionDiscoveryRequesttrue if the extension model discovery process will attempt to discover an extension model from the
classloaders in parallel instead of sequentially.public boolean isEnrichDescriptions()
isEnrichDescriptions in interface ExtensionDiscoveryRequesttrue if any DeclarationEnricher that adds descriptions to a ExtensionDeclaration must be
executed, false it if must be skipped.Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.