org.nuxeo.connect.update.impl.task.commands
Class Deploy
java.lang.Object
org.nuxeo.connect.update.impl.task.AbstractCommand
org.nuxeo.connect.update.impl.task.commands.Deploy
- All Implemented Interfaces:
- Command
public class Deploy
- extends AbstractCommand
Install bundle, flush any application cache and perform Nuxeo preprocessing
on the bundle.
The inverse of this command is Undeploy.
- Author:
- Bogdan Stefanescu
Method Summary |
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 . |
ID
public static final String ID
- See Also:
- Constant Field Values
Deploy
public Deploy()
Deploy
public Deploy(File file)
readFrom
public void readFrom(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 © 2011 Nuxeo SAS. All Rights Reserved.