@NoImplement
public interface ExtensionDiscoveryRequest
ExtensionModelDiscoverer.discoverPluginsExtensionModels(ExtensionDiscoveryRequest).| Modifier and Type | Interface and Description |
|---|---|
static class |
ExtensionDiscoveryRequest.ExtensionDiscoveryRequestBuilder |
| Modifier and Type | Method and Description |
|---|---|
static ExtensionDiscoveryRequest.ExtensionDiscoveryRequestBuilder |
builder() |
Collection<ArtifactPluginDescriptor> |
getArtifactPluginDescriptors() |
<T> Optional<T> |
getParameter(String key)
Obtains the custom parameter registered under
key. |
Map<String,Object> |
getParameters()
Returns all the parameters for this discovery request.
|
Set<org.mule.runtime.api.meta.model.ExtensionModel> |
getParentArtifactExtensions() |
boolean |
isEnrichDescriptions() |
boolean |
isOCSEnabled() |
boolean |
isParallelDiscovery()
Parallel discovery will try to parallelize only the discovery for extensions that do not depend on the DSL of other
extensions.
|
static ExtensionDiscoveryRequest.ExtensionDiscoveryRequestBuilder builder()
ExtensionDiscoveryRequest instance.<T> Optional<T> getParameter(String key)
key.T - generic type of the expected value.key - the key under which the wanted value is registered.Optional value.Map<String,Object> getParameters()
Collection<ArtifactPluginDescriptor> getArtifactPluginDescriptors()
ArtifactPluginDescriptors for artifact plugins deployed inside the artifact. Non-null.Set<org.mule.runtime.api.meta.model.ExtensionModel> getParentArtifactExtensions()
Set of ExtensionModel to also take into account when parsing extensions.boolean isParallelDiscovery()
Parallelism is achieved using the fork-join pool.
true if the extension model discovery process will attempt to discover an extension model from the
classloaders in parallel instead of sequentially.boolean isEnrichDescriptions()
true if any DeclarationEnricher that adds descriptions to an ExtensionDeclaration must be
executed, false if it must be skipped.boolean isOCSEnabled()
Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.