Nuxeo Enterprise Platform 5.4

org.nuxeo.connect.update.impl.task.commands
Class Uninstall

java.lang.Object
  extended by org.nuxeo.connect.update.impl.task.AbstractCommand
      extended by 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
           
 
Constructor Summary
Uninstall()
           
Uninstall(java.io.File file)
           
 
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 org.nuxeo.connect.update.impl.task.AbstractCommand
getId, ignore, initialize, isPostInstall, run, setFail, setIgnore, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values
Constructor Detail

Uninstall

public Uninstall()

Uninstall

public Uninstall(java.io.File file)
Method Detail

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.


Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.