|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ideimpl.webupdate.UpdateInfo
public class UpdateInfo
Information from an update center about an update (either an extension or a patch).
Nested Class Summary | |
---|---|
static class |
UpdateInfo.Type |
Constructor Summary | |
---|---|
UpdateInfo() |
Method Summary | |
---|---|
void |
addRequiredUpdate(java.lang.String id, Version minVersion, Version maxVersion) |
int |
compareTo(java.lang.Object other) |
boolean |
equals(java.lang.Object that) |
java.lang.String |
getAuthor() |
java.lang.String |
getAuthorURL() |
UpdateBundle |
getBundle() |
java.lang.String |
getClickThroughURL() Get the url of a click through license that the user must agree to before installing this update. |
java.lang.String |
getDescription() Get a description of this update. |
java.lang.String |
getID() Get the id of this update. |
java.lang.String |
getName() Get the (human readable) name of this update. |
java.lang.String |
getPostStartupHookClass() Get the post startup hook class. |
java.lang.String |
getPreferredInstallLocation() |
java.util.Collection |
getRequiredIds() Get a collection of ids of all required extensions for this update. |
Version |
getRequiredMaxVersion(java.lang.String id) Get the maximum required version of the specified extension that is needed to install this update. |
Version |
getRequiredMinVersion(java.lang.String id) Get the minimum required version of the specified extension that is needed to install this update. |
java.util.List |
getRequiredUpdates() Get other UpdateInfos that must be installed for this update. |
UpdateCenter |
getSourceCenter() Get the update center that provided this update, if any. |
UpdateInfo.Type |
getType() |
java.lang.String |
getURL() |
Version |
getVersion() Get the version of this update. |
boolean |
hasClickThrough() Get whether this update requires agreement to a click through license. |
int |
hashCode() |
boolean |
isNew() Is this a new update or an upgrade of an existing extension? |
void |
setAuthor(java.lang.String author) |
void |
setAuthorURL(java.lang.String authorUrl) |
void |
setBundle(UpdateBundle bundle) |
void |
setClickThroughURL(java.lang.String url) Set the URL of a click through license that the user must agree to before installing this update. |
void |
setDescription(java.lang.String description) Set a description for this update. |
void |
setDownloadURL(java.lang.String url) |
void |
setID(java.lang.String id) Set the id of this update. |
void |
setName(java.lang.String name) Set the (human readable) name of this update. |
void |
setPostStartupHookClass(java.lang.String postStartupHookClass) |
void |
setPreferredInstallLocation(java.lang.String preferredInstallLocation) |
void |
setSourceCenter(UpdateCenter center) Set the update center that provided this update. |
void |
setType(UpdateInfo.Type type) |
void |
setVersion(Version version) Set the version of this update. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UpdateInfo()
Method Detail |
---|
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setBundle(UpdateBundle bundle)
public UpdateBundle getBundle()
public java.lang.String getPostStartupHookClass()
public void setPostStartupHookClass(java.lang.String postStartupHookClass)
public java.lang.String getPreferredInstallLocation()
public void setPreferredInstallLocation(java.lang.String preferredInstallLocation)
public void setSourceCenter(UpdateCenter center)
center
- the center that provided this update.public UpdateCenter getSourceCenter()
public boolean isNew()
public java.util.List getRequiredUpdates()
public void setAuthor(java.lang.String author)
public java.lang.String getAuthor()
public void setAuthorURL(java.lang.String authorUrl)
public java.lang.String getAuthorURL()
public void setDownloadURL(java.lang.String url)
public java.lang.String getURL()
public void addRequiredUpdate(java.lang.String id, Version minVersion, Version maxVersion)
public java.util.Collection getRequiredIds()
public Version getRequiredMinVersion(java.lang.String id)
id
- the id of a required extension, must be in the collection returned by getRequiredIds().public Version getRequiredMaxVersion(java.lang.String id)
id
- the id of a required extension, must be in the collection returned by getRequiredIds().public void setClickThroughURL(java.lang.String url)
url
- the url of a click through license.public java.lang.String getClickThroughURL()
public boolean hasClickThrough()
public void setID(java.lang.String id)
id
- the id of the update.public java.lang.String getID()
public void setVersion(Version version)
version
- the version of this update.public Version getVersion()
public UpdateInfo.Type getType()
public void setType(UpdateInfo.Type type)
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name of the update.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- a description for this update.public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(java.lang.Object other)
compareTo
in interface java.lang.Comparable
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |