org.jabber.jabberbeans.Extension
Class UpdateInfo

java.lang.Object
  |
  +--org.jabber.jabberbeans.XMLData
        |
        +--org.jabber.jabberbeans.Extension.UpdateInfo

public class UpdateInfo
extends XMLData

An UpdateInfo is used to relay information about a particular available update.

Version:
$Revision: 1.1.1.1 $
Author:
David Waite <dwaite@jabber.com>, $Author: lucky $
See Also:
Serialized Form

Field Summary
private  java.lang.String priority
          priority indicates how severe the priority of the release has been ranked.
private  java.lang.String type
          type is the type of update, be it a "release", a "beta", or a "dev" release.
private  java.lang.String URL
          URL holds the unique resource locator value for the client (or user) to get a software update.
private  java.lang.String version
          version is the version of the software being reported, hopefully the most recent release available.
 
Constructor Summary
UpdateInfo(UpdateInfoBuilder builder)
          Creates an UpdateInfo object.
 
Method Summary
 void appendItem(java.lang.StringBuffer retval)
          appendItem appends the XML representation of the current packet data to the specified StringBuffer.
 java.lang.String getPriority()
          getPriority returns the priority of the update, whether it be an optional or mandatory upgrade from the previous version.
 java.lang.String getType()
          getType returns the type of this particular update, be it a release, a beta, or a developer's version.
 java.lang.String getURL()
          getURL returns the internet address of the software, either to be fetched automatically by the client, or manually by the user.
 java.lang.String getVersion()
          getVersion returns the version number of the newest release (at least, the newest release that the agent knows about)
 
Methods inherited from class org.jabber.jabberbeans.XMLData
appendAttrib, appendAttrib, appendChild, appendChild, escapeString, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

type

private java.lang.String type
type is the type of update, be it a "release", a "beta", or a "dev" release.

version

private java.lang.String version
version is the version of the software being reported, hopefully the most recent release available.

URL

private java.lang.String URL
URL holds the unique resource locator value for the client (or user) to get a software update.

priority

private java.lang.String priority
priority indicates how severe the priority of the release has been ranked. Options are "optional" or "mandatory"
Constructor Detail

UpdateInfo

public UpdateInfo(UpdateInfoBuilder builder)
Creates an UpdateInfo object.
Method Detail

getType

public java.lang.String getType()
getType returns the type of this particular update, be it a release, a beta, or a developer's version.
Returns:
String holding type value

getVersion

public java.lang.String getVersion()
getVersion returns the version number of the newest release (at least, the newest release that the agent knows about)
Returns:
String holding version text

getURL

public java.lang.String getURL()
getURL returns the internet address of the software, either to be fetched automatically by the client, or manually by the user.

getPriority

public java.lang.String getPriority()
getPriority returns the priority of the update, whether it be an optional or mandatory upgrade from the previous version.

appendItem

public void appendItem(java.lang.StringBuffer retval)
appendItem appends the XML representation of the current packet data to the specified StringBuffer.
Overrides:
appendItem in class XMLData
Parameters:
retval - The StringBuffer to append to