Interface UpdateCheckInstance
- All Known Implementing Classes:
UpdateCheckInstanceImpl
public interface UpdateCheckInstance
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidaddUpdatableComponent(UpdatableComponent component, boolean mandatory) Add a further updatable component to this instance.voidcancel()Access to the update managergetName()returns the name supplied when the instance was created (or "" if it wasn't)getProperty(int property_name) intgetType()returns one of the above UCI_ constantsUpdate[]booleanbooleanbooleanbooleanvoidvoidvoidsetAutomatic(boolean automatic) voidsetLowNoise(boolean low_noise) voidsetProperty(int property_name, Object value) voidstart()
-
Field Details
-
UCI_INSTALL
static final int UCI_INSTALL- See Also:
-
UCI_UPDATE
static final int UCI_UPDATE- See Also:
-
UCI_UNINSTALL
static final int UCI_UNINSTALL- See Also:
-
PT_UI_STYLE
static final int PT_UI_STYLE- See Also:
-
PT_UI_STYLE_DEFAULT
static final int PT_UI_STYLE_DEFAULT- See Also:
-
PT_UI_STYLE_SIMPLE
static final int PT_UI_STYLE_SIMPLE- See Also:
-
PT_UI_STYLE_NONE
static final int PT_UI_STYLE_NONE- See Also:
-
PT_UI_PARENT_SWT_COMPOSITE
static final int PT_UI_PARENT_SWT_COMPOSITE- See Also:
-
PT_UI_DISABLE_ON_SUCCESS_SLIDEY
static final int PT_UI_DISABLE_ON_SUCCESS_SLIDEY- See Also:
-
PT_CLOSE_OR_RESTART_ALREADY_IN_PROGRESS
static final int PT_CLOSE_OR_RESTART_ALREADY_IN_PROGRESS- See Also:
-
PT_UNINSTALL_RESTART_REQUIRED
static final int PT_UNINSTALL_RESTART_REQUIRED- See Also:
-
PT_UI_EXTRA_MESSAGE
static final int PT_UI_EXTRA_MESSAGE- See Also:
-
PT_RESOURCE_OVERRIDES
static final int PT_RESOURCE_OVERRIDES- See Also:
-
-
Method Details
-
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
- Throws:
UpdateException
-
addUpdatableComponent
Add a further updatable component to this instance. Must be called before the check process is started- Parameters:
component-mandatory-
-
getManager
-
setAutomatic
void setAutomatic(boolean automatic) -
isAutomatic
boolean isAutomatic() -
setLowNoise
void setLowNoise(boolean low_noise) -
isLowNoise
boolean isLowNoise() -
isCompleteOrCancelled
boolean isCompleteOrCancelled() -
getProperty
-
setProperty
-
addDecisionListener
-
removeDecisionListener
-
addListener
-
removeListener
-