org.xnap.commons.pkg
Class DefaultResolver
java.lang.Object
org.xnap.commons.pkg.DefaultResolver
public class DefaultResolver
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultResolver
public DefaultResolver(DependencyGraph graph,
boolean requireInstalled)
resolve
public void resolve()
throws UnsatisfiedDependenciesException
- Throws:
UnsatisfiedDependenciesException
getRequired
public PackageInfo[] getRequired()
- Traverses the graph and returns all required packages.
getRequiredUninstalled
public PackageInfo[] getRequiredUninstalled()
- Traverses the graph and returns all required packages that are
not installed.
Copyright © 2004-2006 XNap Commons Team. All Rights Reserved.