org.eclipse.update.standalone
Class UninstallCommand
java.lang.Object
org.eclipse.update.standalone.ScriptedCommand
org.eclipse.update.standalone.UninstallCommand
- All Implemented Interfaces:
- IOperationListener
public class UninstallCommand
- extends ScriptedCommand
Command to uninstall a feature. The feature must be disabled before uninstalling it.
Note: This class/interface is part of an interim API that is still under development and expected to
change significantly before reaching stability. It is being made available at this early stage to solicit feedback
from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken
(repeatedly) as the API evolves.
- Since:
- 3.0
Constructor Summary |
UninstallCommand(java.lang.String featureId,
java.lang.String version,
java.lang.String toSite,
java.lang.String verifyOnly)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UninstallCommand
public UninstallCommand(java.lang.String featureId,
java.lang.String version,
java.lang.String toSite,
java.lang.String verifyOnly)
throws java.lang.Exception
- Throws:
java.lang.Exception
run
public boolean run(IProgressMonitor monitor)
- Description copied from class:
ScriptedCommand
- Executes the command. Subclasses are responsible for implementing this method.
If the command was constructed with verifyOnly=true, the command should not execute, but only verify it can execute.
- Specified by:
run
in class ScriptedCommand
- Parameters:
monitor
- progress monitor during command execution.