org.mmbase.applications.packaging
Class UninstallManager

java.lang.Object
  extended by org.mmbase.applications.packaging.UninstallManager

public class UninstallManager
extends java.lang.Object

install manager, keeps track of what is being installed, provides background threads and logs errors & message to feedback to users.

Author:
Daniel Ockeloen (MMBased)

Constructor Summary
UninstallManager()
           
 
Method Summary
 java.lang.String getState()
           
static BundleInterface getUnInstallingBundle()
           
static PackageInterface getUnInstallingPackage()
           
static java.util.Iterator getUninstallSteps()
           
static boolean isActive()
           
static void performUninstall()
          called by the install thread class, performs the real install in the background and keeps providing feedback using the steps interfaces
 void setState(java.lang.String state)
           
static boolean uninstallBundle(BundleInterface b)
          uninstall a package
static boolean uninstallPackage(PackageInterface p)
          uninstall a package
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UninstallManager

public UninstallManager()
Method Detail

uninstallPackage

public static boolean uninstallPackage(PackageInterface p)
uninstall a package


performUninstall

public static void performUninstall()
called by the install thread class, performs the real install in the background and keeps providing feedback using the steps interfaces


uninstallBundle

public static boolean uninstallBundle(BundleInterface b)
uninstall a package


setState

public void setState(java.lang.String state)

getState

public java.lang.String getState()

isActive

public static boolean isActive()

getUnInstallingPackage

public static PackageInterface getUnInstallingPackage()

getUnInstallingBundle

public static BundleInterface getUnInstallingBundle()

getUninstallSteps

public static java.util.Iterator getUninstallSteps()


packaging build ${version}