public final class UpdateManager
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
void | 
clearAutomaticCheckForUpdates()  | 
AutomaticCheckForUpdates | 
getAutomaticCheckForUpdates()  | 
java.io.File | 
getDeferredUpdatesFile()  | 
Directories | 
getDirectories()
Get directory information 
 | 
static UpdateManager | 
getInstance()
Get the singleton instance of UpdateManager 
 | 
java.lang.String | 
getMasterServerURL()  | 
java.util.Collection<UpdateCenter> | 
getUpdateCenters()  | 
java.lang.String | 
getUserAgent(java.lang.String targetUrl, boolean automaticPing)
Returns the user agent we use for all HTTP requests made by check for updates. 
 | 
boolean | 
isGlobalExtensionInstallationAllowed()
Can global extensions be installed by the current user? 
 | 
boolean | 
isSingleUserMode()
Is the IDE in single user mode? 
 | 
void | 
setDirectories(Directories d)
Set an object that provides information about the directories the update manager should use. 
 | 
void | 
setUpdateCenters(java.util.List updateCenters)  | 
public AutomaticCheckForUpdates getAutomaticCheckForUpdates()
public void clearAutomaticCheckForUpdates()
public java.lang.String getMasterServerURL()
public void setDirectories(Directories d)
public Directories getDirectories()
public boolean isGlobalExtensionInstallationAllowed()
public boolean isSingleUserMode()
public java.util.Collection<UpdateCenter> getUpdateCenters()
public void setUpdateCenters(java.util.List updateCenters)
                      throws java.io.IOException
java.io.IOExceptionpublic static UpdateManager getInstance()
public java.io.File getDeferredUpdatesFile()
public java.lang.String getUserAgent(java.lang.String targetUrl,
                            boolean automaticPing)
targetUrl - the url being pinged.automaticPing - whether this is a ping initiated via automatic check for updates.