|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jabber.jabberbeans.Extension.UpdateInfoBuilder
An UpdateInfoBuilder
is used to construct UpdateInfo objects
Constructor Summary | |
UpdateInfoBuilder()
Creates a new UpdateInfoBuilder instance. |
Method Summary | |
UpdateInfo |
build()
build an UpdateInfo based on the current builder state |
java.lang.String |
getPriority()
gets the priority of the update (optional , mandatory) |
java.lang.String |
getType()
gets the type of update (be it 'beta', 'release', or 'dev') |
java.lang.String |
getURL()
gets the URL where the software is located |
java.lang.String |
getVersion()
gets the version string associated with the update |
void |
reset()
resets the state of the builder, for reuse |
void |
setPriority(java.lang.String priority)
sets the priority of the update (optional , mandatory) |
void |
setType(java.lang.String type)
sets the type of update (be it 'beta', 'release', or 'dev') |
void |
setURL(java.lang.String URL)
sets the URL where the software is located |
void |
setVersion(java.lang.String version)
sets the version string associated with the update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UpdateInfoBuilder()
UpdateInfoBuilder
instance.
Method Detail |
public void reset()
public java.lang.String getType()
String
value holding the typepublic void setType(java.lang.String type)
type
- a String
value holding the typepublic java.lang.String getVersion()
String
holding the version of the updatepublic void setVersion(java.lang.String version)
version
- a String
holding the version of the updatepublic java.lang.String getURL()
String
holding the URLpublic void setURL(java.lang.String URL)
URL
- a String
holding the URLpublic java.lang.String getPriority()
String
holding the update prioritypublic void setPriority(java.lang.String priority)
priority
- a String
holding the update prioritypublic UpdateInfo build()
UpdateInfo
based on the current builder state
UpdateInfo
object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |