org.xnap.commons.pkg
Class PackageCommit
java.lang.Object
org.xnap.commons.pkg.PackageCommit
public class PackageCommit
- extends Object
Defines lists of packages that need to be installed or removed.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PackageCommit
public PackageCommit(PackageManager manager)
throws ParseException,
UnsatisfiedDependenciesException
- Throws:
ParseException
UnsatisfiedDependenciesException
getInstall
public PackageInfo[] getInstall()
getRemove
public PackageInfo[] getRemove()
isEmpty
public boolean isEmpty()
- Returns true, if the commit would not modify any packages.
Copyright © 2004-2006 XNap Commons Team. All Rights Reserved.