public class CloudStoreUpdater extends CloudStoreUpdaterCore
CONFIG_KEY_DOWNGRADE, CONFIG_KEY_ENABLED, CONFIG_KEY_FORCE, CONFIG_KEY_REMOTE_VERSION_CACHE_VALIDITY_PERIOD, DEFAULT_REMOTE_VERSION_CACHE_VALIDITY_PERIOD, fileFilterIgnoringBackupAndUpdaterDir, fileFilterIgnoringBackupDir, INSTALLATION_PROPERTIES_ARTIFACT_ID, INSTALLATION_PROPERTIES_FILE_NAME, INSTALLATION_PROPERTIES_VERSION, remoteUpdatePropertiesURL, remoteVersionURL
Constructor and Description |
---|
CloudStoreUpdater(String[] args) |
Modifier and Type | Method and Description |
---|---|
protected static CloudStoreUpdater |
createCloudStoreUpdater(String[] args) |
int |
execute() |
protected static Class<? extends CloudStoreUpdater> |
getCloudStoreUpdaterClass() |
protected static Constructor<? extends CloudStoreUpdater> |
getCloudStoreUpdaterConstructor() |
protected File |
getInstallationDir()
Gets the installation directory that was passed as command line parameter.
|
boolean |
isThrowException() |
static void |
main(String[] args) |
protected static void |
setCloudStoreUpdaterClass(Class<? extends CloudStoreUpdater> cloudStoreUpdaterClass) |
void |
setThrowException(boolean throwException) |
CloudStoreUpdater |
throwException(boolean throwException) |
createUpdaterDirIfUpdateNeeded, getBackupDir, getInstallationProperties, getLocalVersion, getRemoteVersion, getUpdaterDir, resolve
public CloudStoreUpdater(String[] args)
protected static Constructor<? extends CloudStoreUpdater> getCloudStoreUpdaterConstructor() throws NoSuchMethodException, SecurityException
protected static CloudStoreUpdater createCloudStoreUpdater(String[] args) throws NoSuchMethodException, SecurityException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException
protected static Class<? extends CloudStoreUpdater> getCloudStoreUpdaterClass()
protected static void setCloudStoreUpdaterClass(Class<? extends CloudStoreUpdater> cloudStoreUpdaterClass)
public boolean isThrowException()
public void setThrowException(boolean throwException)
public CloudStoreUpdater throwException(boolean throwException)
protected File getInstallationDir()
getInstallationDir
in class CloudStoreUpdaterCore
null
.Copyright © 2013–2019. All rights reserved.