Class TaskDefinitionImpl

java.lang.Object
org.nuxeo.connect.update.xml.TaskDefinitionImpl
All Implemented Interfaces:
org.nuxeo.connect.update.model.TaskDefinition

public class TaskDefinitionImpl extends Object implements org.nuxeo.connect.update.model.TaskDefinition
Describe an install / uninstall task
Author:
Bogdan Stefanescu
  • Field Details

    • type

      protected String type
      A class implementing Task
    • restart

      protected boolean restart
      Whether the platform must be restarted after executing the task.
  • Constructor Details

    • TaskDefinitionImpl

      public TaskDefinitionImpl()
    • TaskDefinitionImpl

      public TaskDefinitionImpl(boolean restart)
    • TaskDefinitionImpl

      public TaskDefinitionImpl(String type, boolean restart)
  • Method Details

    • setRequireRestart

      public void setRequireRestart(boolean isRestartRequired)
      Specified by:
      setRequireRestart in interface org.nuxeo.connect.update.model.TaskDefinition
    • getRequireRestart

      public boolean getRequireRestart()
      Specified by:
      getRequireRestart in interface org.nuxeo.connect.update.model.TaskDefinition
    • setType

      public void setType(String type)
      Specified by:
      setType in interface org.nuxeo.connect.update.model.TaskDefinition
    • getType

      public String getType()
      Specified by:
      getType in interface org.nuxeo.connect.update.model.TaskDefinition
    • toString

      public String toString()
      Overrides:
      toString in class Object