Class ManualActionData
java.lang.Object
org.ametys.core.migration.action.data.impl.AbstractActionData
org.ametys.core.migration.action.data.impl.ManualActionData
- All Implemented Interfaces:
ActionData
Datas for manual upgrades, contains only one comment that will be logged
-
Field Summary
Fields inherited from class org.ametys.core.migration.action.data.impl.AbstractActionData
_comment, _from, _pluginName, _type, _version, _versionNumber
-
Constructor Summary
ConstructorDescriptionManualActionData
(String versionNumber, Version version, String comment, String from, String type, String pluginName, Configuration configuration) Create the Upgrade based on the upgrade xml line Must contains id and type May contain restartAfter, component and/or file -
Method Summary
Methods inherited from class org.ametys.core.migration.action.data.impl.AbstractActionData
getComment, getFrom, getPluginName, getType, getVersion, getVersionNumber, toString
-
Constructor Details
-
ManualActionData
public ManualActionData(String versionNumber, Version version, String comment, String from, String type, String pluginName, Configuration configuration) throws ConfigurationException Create the Upgrade based on the upgrade xml line Must contains id and type May contain restartAfter, component and/or file- Parameters:
versionNumber
- version number of the actionversion
- version concerned by this upgradecomment
- Comment about this actionfrom
- if this actions is the equivalent of multiple actions, this is the version id just before the 1st action impacted by this actiontype
- type of actions, this is the version id just before the 1st action impacted by this actionpluginName
- name of the plugin containing the extensionconfiguration
- the extension upgrade line to add- Throws:
ConfigurationException
- id or type missing
-