public class VersionChecker extends Object
Modifier and Type | Class and Description |
---|---|
static class |
VersionChecker.CHECK |
Modifier and Type | Field and Description |
---|---|
static String |
PK_CHECK_INTERVAL |
Modifier and Type | Method and Description |
---|---|
boolean |
checkForNewRelease() |
VersionChecker.CHECK |
getCheckInterval() |
LocalDateTime |
getDateTimeOfLastCheck() |
static VersionChecker |
getInstance() |
com.bc.ceres.core.runtime.Version |
getLocalVersion()
Returns the local version, or
null if no version could be found |
com.bc.ceres.core.runtime.Version |
getRemoteVersion()
Returns the remote version, or
null if no version could be found |
boolean |
mustCheck() |
void |
setChecked() |
public static final String PK_CHECK_INTERVAL
public static VersionChecker getInstance()
public boolean mustCheck()
public VersionChecker.CHECK getCheckInterval()
public LocalDateTime getDateTimeOfLastCheck()
public boolean checkForNewRelease()
public void setChecked()
public com.bc.ceres.core.runtime.Version getLocalVersion()
null
if no version could be foundnull
if no version could be foundpublic com.bc.ceres.core.runtime.Version getRemoteVersion()
null
if no version could be foundnull
if no version could be foundCopyright © 2014–2022 European Space Agency (ESA). All rights reserved.