|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ideimpl.webupdate.UpdateManager
public final class UpdateManager
The update manager provides information about previously installed updates and provides access to the update center. The Update Manager is designed to be run both inside and outside the IDE. As such, it's very important that this class has no direct dependencies on classes which cause the Ide to become initialized (in particular, the oracle.ide.Ide singleton itself).
Method Summary | |
---|---|
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) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public AutomaticCheckForUpdates getAutomaticCheckForUpdates()
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.IOException
public 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.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |