public class Update extends AbstractCommand
Modifier and Type | Field and Description |
---|---|
static boolean |
ALLOW_DOWNGRADE |
static String |
ID |
static boolean |
UPGRADE_ONLY |
FILES_TO_DELETE_ONLY_ON_EXIT
Constructor and Description |
---|
Update() |
Modifier and Type | Method and Description |
---|---|
void |
computeRemoveOnExit(UpdateOptions opt) |
void |
readFrom(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 . |
getId, ignore, initialize, isPostInstall, run, setFail, setIgnore, validate
public static final String ID
public static final boolean ALLOW_DOWNGRADE
public static final boolean UPGRADE_ONLY
public void readFrom(Element element) throws org.nuxeo.connect.update.PackageException
AbstractCommand
readFrom
in class AbstractCommand
org.nuxeo.connect.update.PackageException
public void writeTo(XmlWriter writer)
Command
XmlWriter
. This method
will be called by the task to create an uninstall.xml file.public void computeRemoveOnExit(UpdateOptions opt)
Copyright © 2011 Nuxeo SA. All Rights Reserved.