Class SqlInitializationActionData
- java.lang.Object
-
- org.ametys.core.migration.action.data.impl.AbstractActionData
-
- org.ametys.core.migration.action.data.impl.SqlUpgradeActionData
-
- org.ametys.core.migration.action.data.impl.SqlInitializationActionData
-
- All Implemented Interfaces:
ActionData
public class SqlInitializationActionData extends SqlUpgradeActionData
Data for upgrade done by initialization
-
-
Field Summary
Fields Modifier and Type Field Description protected String
_tableToCheck
Table to check to verify if the upgrade is needed-
Fields inherited from class org.ametys.core.migration.action.data.impl.AbstractActionData
_comment, _from, _pluginName, _type, _version, _versionNumber
-
-
Constructor Summary
Constructors Constructor Description SqlInitializationActionData(String versionNumber, Version version, String comment, String from, String type, String pluginName, Configuration configuration)
Same constructor asAbstractActionData
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTable()
Get the table that will need to be tested before the initialization is executed-
Methods inherited from class org.ametys.core.migration.action.data.impl.SqlUpgradeActionData
getFile, getPlugin
-
Methods inherited from class org.ametys.core.migration.action.data.impl.AbstractActionData
getComment, getFrom, getPluginName, getType, getVersion, getVersionNumber, toString
-
-
-
-
Field Detail
-
_tableToCheck
protected String _tableToCheck
Table to check to verify if the upgrade is needed
-
-
Constructor Detail
-
SqlInitializationActionData
public SqlInitializationActionData(String versionNumber, Version version, String comment, String from, String type, String pluginName, Configuration configuration) throws ConfigurationException
Same constructor asAbstractActionData
- Parameters:
versionNumber
- version number of the versionversion
- 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 actionpluginName
- name of the pluginconfiguration
- configuration of the initialization- Throws:
ConfigurationException
- id or type missing
-
-