Class 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 Detail

      • type

        protected String type
        A class implementing Task
      • restart

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

      • TaskDefinitionImpl

        public TaskDefinitionImpl()
      • TaskDefinitionImpl

        public TaskDefinitionImpl​(boolean restart)
      • TaskDefinitionImpl

        public TaskDefinitionImpl​(String type,
                                  boolean restart)
    • Method Detail

      • 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