Class SqlInitializationActionData

All Implemented Interfaces:
ActionData

Data for upgrade done by initialization
  • Field Details

    • _tableToCheck

      protected String _tableToCheck
      Table to check to verify if the upgrade is needed
  • Constructor Details

    • SqlInitializationActionData

      public SqlInitializationActionData(String versionNumber, Version version, String comment, String from, String type, String pluginName, Configuration configuration, boolean restartRequired) throws ConfigurationException
      Same constructor as AbstractActionData
      Parameters:
      versionNumber - version number of the version
      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 action
      pluginName - name of the plugin
      configuration - configuration of the initialization
      restartRequired - true if a restart is required after the action
      Throws:
      ConfigurationException - id or type missing
  • Method Details

    • getTable

      public String getTable()
      Get the table that will need to be tested before the initialization is executed
      Returns:
      The table that will need to be tested before the initialization is executed