Interface ActionData
- All Known Implementing Classes:
AbstractActionData
,JavaActionData
,ManualActionData
,ScriptActionData
,SqlInitializationActionData
,SqlUpgradeActionData
public interface ActionData
Representation of an upgrade line in the extension
-
Method Summary
Modifier and TypeMethodDescriptionGet the comment about this actiongetFrom()
Get the upgrade "from" fieldGet the name of the plugin of the extensiongetType()
Get the upgrade typeGet the version to apply this upgrade onGet the upgrade version numberboolean
If true at the end of the action, the server will be restartedvoid
setRequiresRestart
(boolean requiresRestart) Set to requireRestart flag
-
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
Set to requireRestart flag- Parameters:
requiresRestart
- true to indicates that the server will require a restart at the end of the action
-