org.xnap.pkg
Class PackageCommit

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

public class PackageCommit
extends java.lang.Object

Defines lists of packages that need to be installed or removed.


Constructor Summary
PackageCommit(PackageManager manager)
           
 
Method Summary
 PackageInfo[] getInstall()
           
 PackageInfo[] getRemove()
           
 boolean isEmpty()
          Returns true, if the commit would not modify any packages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageCommit

public PackageCommit(PackageManager manager)
              throws ParseException,
                     UnsatisfiedDependenciesException
Throws:
ParseException
UnsatisfiedDependenciesException
Method Detail

getInstall

public PackageInfo[] getInstall()

getRemove

public PackageInfo[] getRemove()

isEmpty

public boolean isEmpty()
Returns true, if the commit would not modify any packages.



Copyright © 2001-2005 XNap Team. All Rights Reserved.