public interface ToolingVersionResolver
ToolingVersionResolverConfiguration.mappings() to resolve versions of Tooling
Runtime Client for the requested Mule Runtime version. The mappings should have as key an specific Mule Runtime version or a
Maven range version and value an specific version Tooling Runtime Client.
In case an entry is not defined on ToolingVersionResolverConfiguration.mappings() the resolver will do a to look up for
the latest version of Tooling Runtime Client for the major.minor version of the Mule Runtime version passed as
parameter. Once a version for Tooling Runtime Client is resolved using Maven, it is cached until the
ToolingVersionResolverConfiguration.remoteVersionUpdatePolicy() is reached, at that point will check if a new version
is available from Maven remote repositories which in that case the old one will be returned as part of the response.
For example:
resolve("4.0.0") -> 4.0.0resolve("4.0.0") -> 4.0.1resolve("4.0.1") -> 4.0.1resolve("4.0.2") -> 4.0.1resolve("4.0.0") -> 4.0.3resolve("4.0.1") -> 4.0.3resolve("4.0.2") -> 4.0.3resolve("4.0.0") -> 4.0.2resolve("4.0.1") -> 4.0.2resolve("4.0.2") -> 4.0.2| Modifier and Type | Interface and Description |
|---|---|
static interface |
ToolingVersionResolver.ToolingVersion
The result of resolving a Tooling Runtime Client version.
|
| Modifier and Type | Method and Description |
|---|---|
DynamicToolingVersionResolverConfiguration |
getToolingVersionResolverConfiguration() |
ToolingVersionResolver.ToolingVersion |
resolve(String muleVersion) |
ToolingVersionResolver.ToolingVersion resolve(String muleVersion)
muleVersion - a given Mule Runtime version.DynamicToolingVersionResolverConfiguration getToolingVersionResolverConfiguration()
DynamicToolingVersionResolverConfiguration in order to let clients know the status of the dynamic
mappings resolved using Maven.Copyright © 2022 MuleSoft, Inc.. All rights reserved.