| java.lang.Object org.netbeans.installer.product.Registry
Method Summary | |
public boolean | checkDependenciesForInstall(Product product) | public boolean | checkDependenciesForUninstall() | public void | finalizeRegistry(Progress progress) | public Document | getEmptyRegistryDocument() | public Group | getGroup(String uid) | public List<Group> | getGroups() | public List<Product> | getInavoidableDependents(Product product) Returns the list of products for which the given product is the only one,
that satisfies the requirement. | public static synchronized Registry | getInstance() | public File | getLocalProductCache() | public List<RegistryNode> | getNodes() | public List<RegistryNode> | getNodes(RegistryType registryType) | public Product | getProduct(String uid, Version version) | public List<Product> | getProducts() | public List<Product> | getProducts(Platform platform) | public List<Product> | getProducts(String uid) | public List<Product> | getProducts(String uid, Version lower, Version upper) | public List<Product> | getProducts(String uid, Version version, Platform platform) | public List<Product> | getProducts(String uid, Version version, List<Platform> platforms) | public List<Product> | getProducts(Dependency dependency) | public List<Product> | getProducts(Status status) | public List<Product> | getProducts(DetailedStatus detailedStatus) | public List<Product> | getProducts(Feature feature) | public List<Product> | getProductsToInstall() | public List<Product> | getProductsToUninstall() | public Properties | getProperties() | public String | getProperty(String name) | public Document | getRegistryDocument(RegistryFilter filter, boolean saveIncludes, boolean saveProperties, boolean saveFeatures) | public RegistryNode | getRegistryRoot() | public Platform | getTargetPlatform() | public boolean | hasInstalledChildren(RegistryNode parentNode) | public void | initializeRegistry(Progress progress) | public void | loadProductRegistry(File file) | public void | loadProductRegistry(String uri) | public void | loadProductRegistry(String uri, Progress progress, RegistryType registryType, boolean loadIncludes) | public Document | loadRegistryDocument(String uri) | public void | loadStateFile(File stateFile, Progress progress) | public List<RegistryNode> | query(RegistryFilter filter) | public List<Group> | queryGroups(RegistryFilter filter) | public List<Product> | queryProducts(RegistryFilter filter) | public boolean | satisfiesRequirement(Product candidate, Product product) | public void | saveProductRegistry(File file, RegistryFilter filter, boolean saveIncludes, boolean saveProperties, boolean saveFeatures) | public void | saveStateFile(File stateFile, Progress progress) | public void | setFinishHandler(FinishHandler finishHandler) | public void | setLocalDirectory(File localDirectory) | public void | setProperty(String name, String value) | public void | setTargetPlatform(Platform targetPlatform) |
BUNDLED_PRODUCT_REGISTRY_URI_PROPERTY | final public static String BUNDLED_PRODUCT_REGISTRY_URI_PROPERTY(Code) | | |
CREATE_BUNDLE_PATH_PROPERTY | final public static String CREATE_BUNDLE_PATH_PROPERTY(Code) | | |
DEFAULT_BUNDLED_PRODUCT_REGISTRY_URI | final public static String DEFAULT_BUNDLED_PRODUCT_REGISTRY_URI(Code) | | |
DEFAULT_LOCAL_PRODUCT_CACHE_DIRECTORY_NAME | final public static String DEFAULT_LOCAL_PRODUCT_CACHE_DIRECTORY_NAME(Code) | | |
DEFAULT_LOCAL_PRODUCT_REGISTRY_STUB_URI | final public static String DEFAULT_LOCAL_PRODUCT_REGISTRY_STUB_URI(Code) | | |
DEFAULT_LOCAL_REGISTRY_FILE_NAME | final public static String DEFAULT_LOCAL_REGISTRY_FILE_NAME(Code) | | |
DEFAULT_PRODUCT_REGISTRY_SCHEMA_URI | final public static String DEFAULT_PRODUCT_REGISTRY_SCHEMA_URI(Code) | | |
DEFAULT_STATE_FILE_SCHEMA_URI | final public static String DEFAULT_STATE_FILE_SCHEMA_URI(Code) | | |
DEFAULT_STATE_FILE_STUB_URI | final public static String DEFAULT_STATE_FILE_STUB_URI(Code) | | |
FORCE_INSTALL_PROPERTY | final public static String FORCE_INSTALL_PROPERTY(Code) | | |
FORCE_UNINSTALL_PROPERTY | final public static String FORCE_UNINSTALL_PROPERTY(Code) | | |
LAZY_LOAD_ICONS_PROPERTY | final public static String LAZY_LOAD_ICONS_PROPERTY(Code) | | |
LOCAL_PRODUCT_CACHE_DIRECTORY_PROPERTY | final public static String LOCAL_PRODUCT_CACHE_DIRECTORY_PROPERTY(Code) | | |
LOCAL_PRODUCT_REGISTRY_PROPERTY | final public static String LOCAL_PRODUCT_REGISTRY_PROPERTY(Code) | | |
LOCAL_PRODUCT_REGISTRY_STUB_PROPERTY | final public static String LOCAL_PRODUCT_REGISTRY_STUB_PROPERTY(Code) | | |
PRODUCT_REGISTRY_SCHEMA_URI_PROPERTY | final public static String PRODUCT_REGISTRY_SCHEMA_URI_PROPERTY(Code) | | |
REMOTE_PRODUCT_REGISTRIES_PROPERTY | final public static String REMOTE_PRODUCT_REGISTRIES_PROPERTY(Code) | | |
SOURCE_STATE_FILE_PATH_PROPERTY | final public static String SOURCE_STATE_FILE_PATH_PROPERTY(Code) | | |
STATE_FILE_SCHEMA_URI_PROPERTY | final public static String STATE_FILE_SCHEMA_URI_PROPERTY(Code) | | |
STATE_FILE_STUB_PROPERTY | final public static String STATE_FILE_STUB_PROPERTY(Code) | | |
SUGGEST_INSTALL_PROPERTY | final public static String SUGGEST_INSTALL_PROPERTY(Code) | | |
SUGGEST_UNINSTALL_PROPERTY | final public static String SUGGEST_UNINSTALL_PROPERTY(Code) | | |
TARGET_COMPONENT_UID_PROPERTY | final public static String TARGET_COMPONENT_UID_PROPERTY(Code) | | |
TARGET_COMPONENT_VERSION_PROPERTY | final public static String TARGET_COMPONENT_VERSION_PROPERTY(Code) | | |
TARGET_PLATFORM_PROPERTY | final public static String TARGET_PLATFORM_PROPERTY(Code) | | |
TARGET_STATE_FILE_PATH_PROPERTY | final public static String TARGET_STATE_FILE_PATH_PROPERTY(Code) | | |
Registry | public Registry()(Code) | | |
checkDependenciesForInstall | public boolean checkDependenciesForInstall(Product product)(Code) | | |
checkDependenciesForUninstall | public boolean checkDependenciesForUninstall()(Code) | | |
getInavoidableDependents | public List<Product> getInavoidableDependents(Product product)(Code) | | Returns the list of products for which the given product is the only one,
that satisfies the requirement. In other words the returned products define
at least one requirement that is directly or indirectly satisfied by this
particular product and not by any other products.
Product's status is also taken into account, i.e. if the dependent product
is installed, a not installed product cannot be considered as satisfying the
requirement.
Parameters: product - Product for which the dependents chain should be constructed. The list of products for which the given product is the only onesatisfying their requirements. |
getLocalProductCache | public File getLocalProductCache()(Code) | | |
setLocalDirectory | public void setLocalDirectory(File localDirectory)(Code) | | |
setTargetPlatform | public void setTargetPlatform(Platform targetPlatform)(Code) | | |
|
|