public class DefaultUpdateDiscovery extends Object implements UpdateDiscovery
| Constructor and Description |
|---|
DefaultUpdateDiscovery(AppModelResolver resolver,
VersionUpdateNumber updateNumber) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLatestVersion(AppArtifact artifact) |
String |
getNextVersion(AppArtifact artifact) |
List<String> |
listUpdates(AppArtifact artifact) |
public DefaultUpdateDiscovery(AppModelResolver resolver, VersionUpdateNumber updateNumber)
public List<String> listUpdates(AppArtifact artifact)
listUpdates in interface UpdateDiscoverypublic String getNextVersion(AppArtifact artifact)
getNextVersion in interface UpdateDiscoverypublic String getLatestVersion(AppArtifact artifact)
getLatestVersion in interface UpdateDiscoveryCopyright © 2021 JBoss by Red Hat. All rights reserved.