Nuxeo ECM Projects 5.4.3-SNAPSHOT

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

java.lang.Object
  extended by org.nuxeo.connect.update.impl.task.AbstractCommand
      extended by org.nuxeo.connect.update.impl.task.PostInstallCommand
          extended by org.nuxeo.connect.update.impl.task.commands.FlushCoreCache
All Implemented Interfaces:
Command

public class FlushCoreCache
extends PostInstallCommand

Flush any cache held by the core. This should be used when document types are installed or removed.

The inverse of this command is itself.

Author:
Bogdan Stefanescu

Field Summary
static String ID
           
 
Constructor Summary
FlushCoreCache()
           
 
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.
 
Methods inherited from class org.nuxeo.connect.update.impl.task.PostInstallCommand
isPostInstall
 
Methods inherited from class org.nuxeo.connect.update.impl.task.AbstractCommand
getId, ignore, initialize, 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 String ID
See Also:
Constant Field Values
Constructor Detail

FlushCoreCache

public FlushCoreCache()
Method Detail

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.


Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.