com.rapid_i.deployment.update.client
Class UpdateManager
java.lang.Object
com.rapid_i.deployment.update.client.UpdateManager
public class UpdateManager
- extends java.lang.Object
This class manages the updates of the core and installation and updates of extensions.
- Author:
- Simon Fischer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAMETER_UPDATE_INCREMENTALLY
public static final java.lang.String PARAMETER_UPDATE_INCREMENTALLY
- See Also:
- Constant Field Values
PARAMETER_UPDATE_URL
public static final java.lang.String PARAMETER_UPDATE_URL
- See Also:
- Constant Field Values
PARAMETER_INSTALL_TO_HOME
public static final java.lang.String PARAMETER_INSTALL_TO_HOME
- See Also:
- Constant Field Values
UPDATESERVICE_URL
public static final java.lang.String UPDATESERVICE_URL
- See Also:
- Constant Field Values
PACKAGEID_RAPIDMINER
public static final java.lang.String PACKAGEID_RAPIDMINER
- See Also:
- Constant Field Values
UpdateManager
public UpdateManager(UpdateService service)
performUpdates
public void performUpdates(java.util.List<PackageDescriptor> downloadList,
ProgressListener progressListener)
throws java.io.IOException,
UpdateServiceException_Exception
- Throws:
java.io.IOException
UpdateServiceException_Exception
getBaseUrl
public static java.lang.String getBaseUrl()
getUpdateServerURI
public static java.net.URI getUpdateServerURI(java.lang.String suffix)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException
isIncrementalUpdate
public static boolean isIncrementalUpdate()
getService
public static UpdateService getService()
throws java.net.MalformedURLException,
java.net.URISyntaxException
- Throws:
java.net.MalformedURLException
java.net.URISyntaxException
getAccountService
public static AccountService getAccountService()
throws java.net.MalformedURLException,
java.net.URISyntaxException
- Throws:
java.net.MalformedURLException
java.net.URISyntaxException
saveLastUpdateCheckDate
public static void saveLastUpdateCheckDate()
checkForUpdates
public static void checkForUpdates()
- Checks whether the last update is at least 7 days ago, then checks whether there
are any updates, and opens a dialog if desired by the user.
Copyright © 2001-2009 by Rapid-I