public class DefaultExtensionDiscoveryRequest extends Object implements ExtensionDiscoveryRequest
ExtensionDiscoveryRequest, which contains the parameters that can be given to
ExtensionModelDiscoverer.discoverPluginsExtensionModels(ExtensionDiscoveryRequest)ExtensionDiscoveryRequest.ExtensionDiscoveryRequestBuilder| Constructor and Description |
|---|
DefaultExtensionDiscoveryRequest(List<ArtifactPluginDescriptor> artifactPlugins,
Set<org.mule.runtime.api.meta.model.ExtensionModel> parentArtifactExtensions,
boolean parallelDiscovery,
boolean enrichDescriptions) |
| Modifier and Type | Method and Description |
|---|---|
List<ArtifactPluginDescriptor> |
getArtifactPluginDescriptors() |
Set<org.mule.runtime.api.meta.model.ExtensionModel> |
getParentArtifactExtensions() |
boolean |
isEnrichDescriptions() |
boolean |
isParallelDiscovery()
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(List<ArtifactPluginDescriptor> artifactPlugins, Set<org.mule.runtime.api.meta.model.ExtensionModel> parentArtifactExtensions, boolean parallelDiscovery, boolean enrichDescriptions)
public List<ArtifactPluginDescriptor> getArtifactPluginDescriptors()
getArtifactPluginDescriptors in interface ExtensionDiscoveryRequestArtifactPluginDescriptors 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 an ExtensionDeclaration must be
executed, false if it must be skipped.Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.