org.gudy.azureus2.plugins.update
Interface UpdateCheckInstance


public interface UpdateCheckInstance

Author:
parg

Field Summary
static int UCI_INSTALL
           
static int UCI_UNINSTALL
           
static int UCI_UPDATE
           
 
Method Summary
 void addDecisionListener(UpdateManagerDecisionListener l)
           
 void addListener(UpdateCheckInstanceListener l)
           
 void addUpdatableComponent(UpdatableComponent component, boolean mandatory)
          Add a further updatable component to this instance.
 void cancel()
           
 UpdateInstaller createInstaller()
           
 UpdateChecker[] getCheckers()
           
 UpdateManager getManager()
          Access to the update manager
 java.lang.String getName()
          returns the name supplied when the instance was created (or "" if it wasn't)
 int getType()
          returns one of the above UCI_ constants
 Update[] getUpdates()
           
 boolean isAutomatic()
           
 boolean isCancelled()
           
 boolean isLowNoise()
           
 void removeDecisionListener(UpdateManagerDecisionListener l)
           
 void removeListener(UpdateCheckInstanceListener l)
           
 void setAutomatic(boolean automatic)
           
 void setLowNoise(boolean low_noise)
           
 void start()
           
 

Field Detail

UCI_INSTALL

static final int UCI_INSTALL
See Also:
Constant Field Values

UCI_UPDATE

static final int UCI_UPDATE
See Also:
Constant Field Values

UCI_UNINSTALL

static final int UCI_UNINSTALL
See Also:
Constant Field Values
Method Detail

getType

int getType()
returns one of the above UCI_ constants

Returns:

getName

java.lang.String getName()
returns the name supplied when the instance was created (or "" if it wasn't)

Returns:

start

void start()

cancel

void cancel()

isCancelled

boolean isCancelled()

getCheckers

UpdateChecker[] getCheckers()

getUpdates

Update[] getUpdates()

createInstaller

UpdateInstaller createInstaller()
                                throws UpdateException
Throws:
UpdateException

addUpdatableComponent

void addUpdatableComponent(UpdatableComponent component,
                           boolean mandatory)
Add a further updatable component to this instance. Must be called before the check process is started

Parameters:
component -
mandatory -

getManager

UpdateManager getManager()
Access to the update manager

Returns:

setAutomatic

void setAutomatic(boolean automatic)

isAutomatic

boolean isAutomatic()

setLowNoise

void setLowNoise(boolean low_noise)

isLowNoise

boolean isLowNoise()

addDecisionListener

void addDecisionListener(UpdateManagerDecisionListener l)

removeDecisionListener

void removeDecisionListener(UpdateManagerDecisionListener l)

addListener

void addListener(UpdateCheckInstanceListener l)

removeListener

void removeListener(UpdateCheckInstanceListener l)