Class UninstallTask

All Implemented Interfaces:
org.nuxeo.connect.update.task.Task
Direct Known Subclasses:
LiveUninstallTask

public class UninstallTask extends CommandsTask
Author:
Bogdan Stefanescu
  • Constructor Details

    • UninstallTask

      public UninstallTask(org.nuxeo.connect.update.PackageUpdateService pus)
  • Method Details

    • getCommandsFile

      protected File getCommandsFile() throws org.nuxeo.connect.update.PackageException
      Description copied from class: CommandsTask
      Get the commands file from where to load commands for this task.
      Specified by:
      getCommandsFile in class CommandsTask
      Throws:
      org.nuxeo.connect.update.PackageException
    • isInstallTask

      public boolean isInstallTask()
      Specified by:
      isInstallTask in class AbstractTask
    • rollbackDone

      protected void rollbackDone() throws org.nuxeo.connect.update.PackageException
      Specified by:
      rollbackDone in class AbstractTask
      Throws:
      org.nuxeo.connect.update.PackageException
    • taskDone

      protected void taskDone() throws org.nuxeo.connect.update.PackageException
      Specified by:
      taskDone in class AbstractTask
      Throws:
      org.nuxeo.connect.update.PackageException
    • doRun

      protected void doRun(Map<String,String> params) throws org.nuxeo.connect.update.PackageException
      Description copied from class: CommandsTask
      User parameters are not handled by default. You need to implement your own task to do this.
      Overrides:
      doRun in class CommandsTask
      Throws:
      org.nuxeo.connect.update.PackageException
    • flush

      protected void flush() throws org.nuxeo.connect.update.PackageException
      Specified by:
      flush in class CommandsTask
      Throws:
      org.nuxeo.connect.update.PackageException