|
org.netbeans.modules.autoupdate.services 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.autoupdate.UpdateManager
public final class UpdateManager
The central manager of content available to users in Autoupdate UI. It providers list of units which can be browsed in UI and handles operations which can be performed on units (i.e. install, update or unistall etc.).
Nested Class Summary | |
---|---|
static class |
UpdateManager.TYPE
|
Method Summary | |
---|---|
static UpdateManager |
getDefault()
Returns singleton instance of UpdateManager |
List<UpdateUnit> |
getUpdateUnits()
Returns java.util.List of UpdateUnit build on the top of
UpdateUnitProvider . |
List<UpdateUnit> |
getUpdateUnits(UpdateManager.TYPE... types)
Returns java.util.List of UpdateUnit build on the top of
UpdateUnitProvider . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final UpdateManager getDefault()
UpdateManager
public List<UpdateUnit> getUpdateUnits()
java.util.List
of UpdateUnit
build on the top of
UpdateUnitProvider
. Only enabled providers are taken in the result.
public List<UpdateUnit> getUpdateUnits(UpdateManager.TYPE... types)
java.util.List
of UpdateUnit
build on the top of
UpdateUnitProvider
. Only enabled providers are taken in the result.
types
- returns UpdateUnit
s contain only given types, e.g. modules for MODULE
type.
If types is null
or null then returns default types
|
org.netbeans.modules.autoupdate.services 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |