org.xnap.pkg
Class DefaultResolver

java.lang.Object
  extended by org.xnap.pkg.DefaultResolver

public class DefaultResolver
extends java.lang.Object


Constructor Summary
DefaultResolver(DependencyGraph graph, boolean requireInstalled)
           
 
Method Summary
 PackageInfo[] getRequired()
          Traverses the graph and returns all required packages.
 PackageInfo[] getRequiredUninstalled()
          Traverses the graph and returns all required packages that are not installed.
 void resolve()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultResolver

public DefaultResolver(DependencyGraph graph,
                       boolean requireInstalled)
Method Detail

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 © 2001-2005 XNap Team. All Rights Reserved.