Interface ActionData

All Known Implementing Classes:
AbstractActionData, JavaActionData, ManualActionData, ScriptActionData, SqlInitializationActionData, SqlUpgradeActionData

public interface ActionData
Representation of an upgrade line in the extension
  • Method Details

    • getVersionNumber

      Get the upgrade version number
      Returns:
      upgrade version number
    • getType

      Get the upgrade type
      Returns:
      upgrade type
    • getComment

      Get the comment about this action
      Returns:
      The comment about this action
    • getFrom

      Get the upgrade "from" field
      Returns:
      upgrade "from" field
    • getVersion

      Get the version to apply this upgrade on
      Returns:
      the version to apply this upgrade on
    • getPluginName

      Get the name of the plugin of the extension
      Returns:
      The name of the plugin of the extension
    • requiresRestart

      boolean requiresRestart()
      If true at the end of the action, the server will be restarted
      Returns:
      true to restart server
    • setRequiresRestart

      void setRequiresRestart(boolean requiresRestart)
      Set to requireRestart flag
      Parameters:
      requiresRestart - true to indicates that the server will require a restart at the end of the action