org.nuxeo.connect.update.impl.task.commands
Class Uninstall
java.lang.Object
org.nuxeo.connect.update.impl.task.AbstractCommand
org.nuxeo.connect.update.impl.task.commands.Uninstall
- All Implemented Interfaces:
- Command
public class Uninstall
- extends AbstractCommand
Un-Deploy an OSGi bundle from the running platform. The bundle is specified
using the absolute bundle file path. The inverse of this command is the
Deploy command.
- Author:
- Bogdan Stefanescu
Field Summary |
static java.lang.String |
ID
|
Method Summary |
void |
readFrom(org.w3c.dom.Element element)
Must be implemented to initialize the command arguments from an XML
fragment. |
void |
writeTo(XmlWriter writer)
Write the command as XML using the given XmlWriter . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
Uninstall
public Uninstall()
Uninstall
public Uninstall(java.io.File file)
readFrom
public void readFrom(org.w3c.dom.Element element)
throws org.nuxeo.connect.update.PackageException
- Description copied from class:
AbstractCommand
- Must be implemented to initialize the command arguments from an XML
fragment.
- Specified by:
readFrom
in class AbstractCommand
- Throws:
org.nuxeo.connect.update.PackageException
writeTo
public void writeTo(XmlWriter writer)
- Description copied from interface:
Command
- Write the command as XML using the given
XmlWriter
. This method
will be called by the task to create an uninstall.xml file.
Copyright © 2010 Nuxeo SAS. All Rights Reserved.