org.gudy.azureus2.plugins.update
Interface Update
- All Known Implementing Classes: 
 - UpdateImpl
 
public interface Update
 
 
RESTART_REQUIRED_NO
static final int RESTART_REQUIRED_NO
- See Also:
 - Constant Field Values
 
RESTART_REQUIRED_YES
static final int RESTART_REQUIRED_YES
- See Also:
 - Constant Field Values
 
RESTART_REQUIRED_MAYBE
static final int RESTART_REQUIRED_MAYBE
- See Also:
 - Constant Field Values
 
getName
java.lang.String getName()
 
getDescription
java.lang.String[] getDescription()
 
getRelativeURLBase
java.lang.String getRelativeURLBase()
 
setRelativeURLBase
void setRelativeURLBase(java.lang.String base)
 
setDescriptionURL
void setDescriptionURL(java.lang.String url)
- Parameters:
 url - URL to load instead of showing the description text)- Since:
 
  - 3.0.1.7
 
 
getDesciptionURL
java.lang.String getDesciptionURL()
- Returns:
 - null if no description url
 - Since:
 
  - 3.0.1.7
 
 
getOldVersion
java.lang.String getOldVersion()
 
getNewVersion
java.lang.String getNewVersion()
 
getDownloaders
ResourceDownloader[] getDownloaders()
 
isMandatory
boolean isMandatory()
 
setRestartRequired
void setRestartRequired(int restart_required)
 
getRestartRequired
int getRestartRequired()
 
setUserObject
void setUserObject(java.lang.Object obj)
 
getUserObject
java.lang.Object getUserObject()
 
complete
void complete(boolean success)
- mark the update as complete and inform any listeners
 
 
cancel
void cancel()
- cancel this update
 
 
isCancelled
boolean isCancelled()
 
isComplete
boolean isComplete()
 
wasSuccessful
boolean wasSuccessful()
 
getCheckInstance
UpdateCheckInstance getCheckInstance()
 
getDecision
java.lang.Object getDecision(int decision_type,
                             java.lang.String decision_name,
                             java.lang.String decision_description,
                             java.lang.Object decision_data)
 
verifyData
java.io.InputStream verifyData(java.io.InputStream is,
                               boolean force)
                               throws UpdateException
- Throws:
 UpdateException
 
addListener
void addListener(UpdateListener l)
 
removeListener
void removeListener(UpdateListener l)