|
Openfire 3.7.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.openfire.update.Update
public class Update
An Update represents a component that needs to be updated. By component we can refer to the Openfire server itself or to any of the installed plugins.
Constructor Summary | |
---|---|
Update(String componentName,
String latestVersion,
String changelog,
String url)
|
Method Summary | |
---|---|
String |
getChangelog()
Returns the URL to the change log of the latest version of the component. |
String |
getComponentName()
Returns the name of the component that is outdated. |
int |
getHashCode()
Returns the hashCode for this update object. |
String |
getLatestVersion()
Returns the latest version of the component that was found. |
String |
getURL()
Returns the URL from where the latest version of the component can be downloaded. |
boolean |
isDownloaded()
Returns true if the plugin was downloaded. |
void |
setDownloaded(boolean downloaded)
Sets if the plugin was downloaded. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Update(String componentName, String latestVersion, String changelog, String url)
Method Detail |
---|
public String getComponentName()
public String getLatestVersion()
public String getChangelog()
public String getURL()
public boolean isDownloaded()
public void setDownloaded(boolean downloaded)
downloaded
- true if the plugin was downloaded.public int getHashCode()
|
Openfire 3.7.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |