Class AbstractActionData

    • Field Detail

      • _from

        protected String _from
        When an upgrade contains multiple upgrades, this represent the 1st upgrade impacted
      • _version

        protected Version _version
        Version used to determine the list of remaining upgrades
      • _restartRequired

        protected boolean _restartRequired
        Is restart required after action
    • Constructor Detail

      • AbstractActionData

        protected AbstractActionData​(String versionNumber,
                                     Version version,
                                     String comment,
                                     String from,
                                     String type,
                                     String pluginName,
                                     Configuration configuration,
                                     boolean restartRequired)
                              throws ConfigurationException
        Create the Upgrade based on the upgrade xml line Must contains id and type May contain restartAfter, component and/or file
        Parameters:
        versionNumber - version number of the action
        version - version concerned by this upgrade
        comment - The comment about this action
        from - if this actions is the equivalent of multiple actions, this is the version id just before the 1st action impacted by this action
        type - type of action
        pluginName - name of the plugin containing the extension
        configuration - the extension upgrade line to add
        restartRequired - true if a restart is required after the action
        Throws:
        ConfigurationException - id or type missing