Class ManualActionData

java.lang.Object
org.ametys.core.migration.action.data.impl.AbstractActionData
org.ametys.core.migration.action.data.impl.ManualActionData
All Implemented Interfaces:
ActionData

Datas for manual upgrades, contains only one comment that will be logged
  • Constructor Details

    • ManualActionData

      public ManualActionData(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 - 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 actions, this is the version id just before the 1st action impacted by this 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