org.xoe.core.packages
Class UninstallContext

java.lang.Object
  |
  +--org.xoe.core.packages.UninstallContext
All Implemented Interfaces:
IPackageQueryHandler

public class UninstallContext
extends Object
implements IPackageQueryHandler


Field Summary
static int MAX_DEPTH
           
 
Constructor Summary
UninstallContext()
           
UninstallContext(PackageDescription desc)
           
 
Method Summary
 void addPackage(PackageDescription pkg)
           
 Object clone()
           
 boolean contains(PackageDescription pkg)
           
static void dumpContextVector(Vector contexts)
           
static UninstallContext getCandidateContext(IPackageQuery q)
           
static UninstallContext getCandidateContext(PackageDescription desc)
           
 PackageDescription[] getPackages()
           
 PackageDescription getPrimary()
           
 void performQuery(IPackageQuery in_q, Vector out_res)
          Performs the specified query and adds all matching packages to out_results
 void setPrimary(PackageDescription desc)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_DEPTH

public static final int MAX_DEPTH
Constructor Detail

UninstallContext

public UninstallContext()

UninstallContext

public UninstallContext(PackageDescription desc)
Method Detail

clone

public Object clone()
Overrides:
clone in class Object

setPrimary

public void setPrimary(PackageDescription desc)

getPrimary

public PackageDescription getPrimary()

performQuery

public void performQuery(IPackageQuery in_q,
                         Vector out_res)
Description copied from interface: IPackageQueryHandler
Performs the specified query and adds all matching packages to out_results
Specified by:
performQuery in interface IPackageQueryHandler

getPackages

public PackageDescription[] getPackages()

addPackage

public void addPackage(PackageDescription pkg)

contains

public boolean contains(PackageDescription pkg)

getCandidateContext

public static UninstallContext getCandidateContext(IPackageQuery q)

getCandidateContext

public static UninstallContext getCandidateContext(PackageDescription desc)

dumpContextVector

public static void dumpContextVector(Vector contexts)

toString

public String toString()
Overrides:
toString in class Object