@Component(role=PluginVersionResolver.class) public class DefaultPluginVersionResolver extends Object implements PluginVersionResolver
Constructor and Description |
---|
DefaultPluginVersionResolver() |
Modifier and Type | Method and Description |
---|---|
PluginVersionResult |
resolve(PluginVersionRequest request)
Resolves the version for the specified request.
|
public PluginVersionResult resolve(PluginVersionRequest request) throws PluginVersionResolutionException
PluginVersionResolver
resolve
in interface PluginVersionResolver
request
- The request that holds the details about the plugin and the repositories to consult, must not be
null
.null
.PluginVersionResolutionException
- If the plugin version could not be resolved.Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.