Class JavaActionData

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

public class JavaActionData extends AbstractActionData
Data for a java upgrade
  • Constructor Details

    • JavaActionData

      public JavaActionData(String id, 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, plus a script or the file where to get the script May contain restartAfter, component and/or file
      Parameters:
      id - id 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
      configuration - the extension upgrade line to add
      restartRequired - true if a restart is required after the action
      Throws:
      ConfigurationException - something is missing
  • Method Details