public abstract class MiniumReleaseManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected HttpClientUtils |
httpClient |
protected VersionDTO |
localVersion |
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
protected ReleaseComparator |
releaseComparator |
| Constructor and Description |
|---|
MiniumReleaseManager(HttpClientUtils httpClient) |
| Modifier and Type | Method and Description |
|---|---|
abstract Release |
getLastRelease() |
VersionDTO |
getLocalVersion() |
VersionDTO |
gotTheLastVersion() |
Release |
toGitHubRelease(VersionDTO actualVersion) |
protected final HttpClientUtils httpClient
protected final com.fasterxml.jackson.databind.ObjectMapper objectMapper
protected VersionDTO localVersion
protected ReleaseComparator releaseComparator
public MiniumReleaseManager(HttpClientUtils httpClient)
public Release toGitHubRelease(VersionDTO actualVersion)
public abstract Release getLastRelease() throws IOException
IOExceptionpublic VersionDTO gotTheLastVersion() throws IOException
IOExceptionpublic VersionDTO getLocalVersion()
Copyright © 2019 VILT Group. All rights reserved.