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) throws AppCreatorException
listUpdates in interface UpdateDiscoveryAppCreatorExceptionpublic String getNextVersion(AppArtifact artifact) throws AppCreatorException
getNextVersion in interface UpdateDiscoveryAppCreatorExceptionpublic String getLatestVersion(AppArtifact artifact) throws AppCreatorException
getLatestVersion in interface UpdateDiscoveryAppCreatorExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.