Class Flush
java.lang.Object
org.nuxeo.connect.update.task.standalone.commands.AbstractCommand
org.nuxeo.connect.update.task.standalone.commands.PostInstallCommand
org.nuxeo.connect.update.task.standalone.commands.FlushPlaceholder
org.nuxeo.connect.update.task.live.commands.Flush
- All Implemented Interfaces:
org.nuxeo.connect.update.task.Command
Flush all Nuxeo caches by calling
ReloadService.flush()
The inverse of this command is itself.
- Author:
- Bogdan Stefanescu
-
Field Summary
Fields inherited from class org.nuxeo.connect.update.task.standalone.commands.FlushPlaceholder
ID
Fields inherited from class org.nuxeo.connect.update.task.standalone.commands.AbstractCommand
fail, guardVars, id, ignore
-
Constructor Summary
-
Method Summary
Methods inherited from class org.nuxeo.connect.update.task.standalone.commands.FlushPlaceholder
doValidate, readFrom, writeTo
Methods inherited from class org.nuxeo.connect.update.task.standalone.commands.PostInstallCommand
isPostInstall
Methods inherited from class org.nuxeo.connect.update.task.standalone.commands.AbstractCommand
getId, ignore, initialize, run, setFail, setIgnore, setPackageUpdateService, validate
-
Constructor Details
-
Flush
public Flush()
-
-
Method Details
-
flush
public static void flush() throws org.nuxeo.connect.update.PackageExceptionCalls theReloadService.flush()
method- Throws:
org.nuxeo.connect.update.PackageException
- Since:
- 5.6
-
doRun
protected org.nuxeo.connect.update.task.Command doRun(org.nuxeo.connect.update.task.Task task, Map<String, String> prefs) throws org.nuxeo.connect.update.PackageExceptionDescription copied from class:AbstractCommand
Override to implement command actions- Overrides:
doRun
in classFlushPlaceholder
- Returns:
- Rollback command
- Throws:
org.nuxeo.connect.update.PackageException
-