org.gudy.azureus2.plugins.update
Interface UpdateCheckInstance

All Known Implementing Classes:
UpdateCheckInstanceImpl

public interface UpdateCheckInstance

Author:
parg

Field Summary
static int PT_CLOSE_OR_RESTART_ALREADY_IN_PROGRESS
           
static int PT_UI_DISABLE_ON_SUCCESS_SLIDEY
           
static int PT_UI_PARENT_SWT_COMPOSITE
           
static int PT_UI_STYLE
           
static int PT_UI_STYLE_DEFAULT
           
static int PT_UI_STYLE_NONE
           
static int PT_UI_STYLE_SIMPLE
           
static int PT_UNINSTALL_RESTART_REQUIRED
           
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
 String getName()
          returns the name supplied when the instance was created (or "" if it wasn't)
 Object getProperty(int property_name)
           
 int getType()
          returns one of the above UCI_ constants
 Update[] getUpdates()
           
 boolean isAutomatic()
           
 boolean isCancelled()
           
 boolean isCompleteOrCancelled()
           
 boolean isLowNoise()
           
 void removeDecisionListener(UpdateManagerDecisionListener l)
           
 void removeListener(UpdateCheckInstanceListener l)
           
 void setAutomatic(boolean automatic)
           
 void setLowNoise(boolean low_noise)
           
 void setProperty(int property_name, Object value)
           
 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

PT_UI_STYLE

static final int PT_UI_STYLE
See Also:
Constant Field Values

PT_UI_STYLE_DEFAULT

static final int PT_UI_STYLE_DEFAULT
See Also:
Constant Field Values

PT_UI_STYLE_SIMPLE

static final int PT_UI_STYLE_SIMPLE
See Also:
Constant Field Values

PT_UI_STYLE_NONE

static final int PT_UI_STYLE_NONE
See Also:
Constant Field Values

PT_UI_PARENT_SWT_COMPOSITE

static final int PT_UI_PARENT_SWT_COMPOSITE
See Also:
Constant Field Values

PT_UI_DISABLE_ON_SUCCESS_SLIDEY

static final int PT_UI_DISABLE_ON_SUCCESS_SLIDEY
See Also:
Constant Field Values

PT_CLOSE_OR_RESTART_ALREADY_IN_PROGRESS

static final int PT_CLOSE_OR_RESTART_ALREADY_IN_PROGRESS
See Also:
Constant Field Values

PT_UNINSTALL_RESTART_REQUIRED

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

getType

int getType()
returns one of the above UCI_ constants

Returns:

getName

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()

isCompleteOrCancelled

boolean isCompleteOrCancelled()

getProperty

Object getProperty(int property_name)

setProperty

void setProperty(int property_name,
                 Object value)

addDecisionListener

void addDecisionListener(UpdateManagerDecisionListener l)

removeDecisionListener

void removeDecisionListener(UpdateManagerDecisionListener l)

addListener

void addListener(UpdateCheckInstanceListener l)

removeListener

void removeListener(UpdateCheckInstanceListener l)