Methods Summary |
---|
public void | addListener(UpdateListener l)
listeners.add( l );
|
public void | cancel()
for (int i=0;i<downloaders.length;i++){
try{
downloaders[i].cancel();
}catch( Throwable e ){
Debug.printStackTrace( e );
}
}
|
public void | complete()
for (int i=0;i<listeners.size();i++){
try{
((UpdateListener)listeners.get(i)).complete( this );
}catch( Throwable e ){
Debug.printStackTrace(e);
}
}
|
public UpdateCheckInstance | getCheckInstance()
return( instance );
|
public java.lang.Object | getDecision(int decision_type, java.lang.String decision_name, java.lang.String decision_description, java.lang.Object decision_data)
return( instance.getDecision(
this, decision_type, decision_name, decision_description, decision_data ));
|
public java.lang.String | getDesciptionURL()
return description_url;
|
public java.lang.String[] | getDescription()
return( description );
|
public ResourceDownloader[] | getDownloaders()
return( downloaders );
|
public java.lang.String | getName()
return( name );
|
public java.lang.String | getNewVersion()
return( new_version );
|
public java.lang.String | getRelativeURLBase()
return( relative_url_base );
|
public int | getRestartRequired()
return( restart_required );
|
public java.lang.Object | getUserObject()
return( user_object );
|
public boolean | isMandatory()
return( mandatory );
|
public void | removeListener(UpdateListener l)
listeners.remove(l);
|
public void | setDescriptionURL(java.lang.String url)
description_url = url;
|
public void | setRelativeURLBase(java.lang.String base)
relative_url_base = base;
|
public void | setRestartRequired(int _restart_required)
restart_required = _restart_required;
|
public void | setUserObject(java.lang.Object obj)
user_object = obj;
|
public java.io.InputStream | verifyData(java.io.InputStream is, boolean force)
return(((UpdateManagerImpl)instance.getManager()).verifyData( this, is, force ));
|