public interface ToolingVersionResolverConfiguration
ToolingVersionResolver.
The mappings() if defined will be the first place to check for a Tooling Runtime Client version whenever the
ToolingVersionResolver.resolve(String) is called. If there is not a matching Mule Runtime version Maven
would be used to get the latest Tooling Runtime Client version for the given Mule Runtime.
By design Tooling Runtime Client will match the same major.minor version of Mule Runtime.| Modifier and Type | Interface and Description |
|---|---|
static interface |
ToolingVersionResolverConfiguration.ToolingVersionResolverConfigurationBuilder
Builder for
ToolingVersionResolverConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
allowedSuffixes() |
static ToolingVersionResolverConfiguration.ToolingVersionResolverConfigurationBuilder |
builder() |
LinkedHashMap<String,String> |
mappings() |
org.mule.maven.client.api.model.MavenConfiguration |
mavenConfiguration() |
UpdatePolicy |
remoteVersionUpdatePolicy() |
org.mule.maven.client.api.model.MavenConfiguration mavenConfiguration()
MavenConfiguration to retrieve the versions for a range of Tooling Runtime Client.UpdatePolicy remoteVersionUpdatePolicy()
UpdatePolicy for updating remote versions resolved for Tooling Runtime Client using Maven. Default is UpdatePolicy.UPDATE_POLICY_DAILY.List<String> allowedSuffixes()
4.1.0-SNAPSHOT or 4.0.0-beta-1. On these cases those versions
would be included in the list of versions resolved for [4.0.0,4.1.0) therefore this allows to define a whitelist for the suffix
that should be considered.LinkedHashMap<String,String> mappings()
LinkedHashMap with the set of mappings versions. Keys are Mule Runtime version or ranges in Maven format and value
is a Tooling Runtime Client version. The mapping entries will be considered in order, useful when needed to do a mapping for
an SNAPSHOT version and at the same time there is already a range defined in mapping for that version.
This takes precedence over the Maven remote resolution.static ToolingVersionResolverConfiguration.ToolingVersionResolverConfigurationBuilder builder()
Copyright © 2019 MuleSoft, Inc.. All rights reserved.