Interface ActionConfiguration

All Known Implementing Classes:
DefaultActionConfiguration, JavaAction.JavaActionConfiguration, ScriptAction.ScriptActionConfiguration, SqlInitializationAction.SqlInitializationActionConfiguration, SqlUpgradeAction.SqlUpgradeActionConfiguration

public interface ActionConfiguration
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
    • 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 the requireRestart flag
      Parameters:
      requiresRestart - true to indicates that the server will require a restart at the end of the action