站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

UpdateManager (Auto Update Services) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.autoupdate.services 1.2

org.netbeans.api.autoupdate
Class UpdateManager

java.lang.Object
  extended by org.netbeans.api.autoupdate.UpdateManager

public final class UpdateManager
extends Object

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

getDefault

public static final UpdateManager getDefault()
Returns singleton instance of UpdateManager

Returns:
UpdateManager

getUpdateUnits

public List<UpdateUnit> getUpdateUnits()
Returns java.util.List of UpdateUnit build on the top of UpdateUnitProvider. Only enabled providers are taken in the result.

Returns:
list of UpdateUnit

getUpdateUnits

public List<UpdateUnit> getUpdateUnits(UpdateManager.TYPE... types)
Returns java.util.List of UpdateUnit build on the top of UpdateUnitProvider. Only enabled providers are taken in the result.

Parameters:
types - returns UpdateUnits contain only given types, e.g. modules for MODULE type. If types is null or null then returns default types
Returns:
list of UpdateUnit

org.netbeans.modules.autoupdate.services 1.2

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.