Class JavaActionData
java.lang.Object
org.ametys.core.migration.action.data.impl.AbstractActionData
org.ametys.core.migration.action.data.impl.JavaActionData
- All Implemented Interfaces:
ActionData
Data for a java upgrade
-
Field Summary
Fields inherited from class org.ametys.core.migration.action.data.impl.AbstractActionData
_comment, _from, _pluginName, _restartRequired, _type, _version, _versionNumber
-
Constructor Summary
ConstructorDescriptionJavaActionData
(String id, Version version, String comment, String from, String type, String pluginName, Configuration configuration, boolean restartRequired) Create the Upgrade based on the upgrade xml line Must contains id and type, plus a script or the file where to get the script 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, requiresRestart, setRequiresRestart
-
Constructor Details
-
JavaActionData
public JavaActionData(String id, Version version, String comment, String from, String type, String pluginName, Configuration configuration, boolean restartRequired) throws ConfigurationException Create the Upgrade based on the upgrade xml line Must contains id and type, plus a script or the file where to get the script May contain restartAfter, component and/or file- Parameters:
id
- id of the actionversion
- version concerned by this upgradecomment
- The 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
- the extension upgrade line to addrestartRequired
- true if a restart is required after the action- Throws:
ConfigurationException
- something is missing
-
-
Method Details
-
getRole
Get the role of the component to call- Returns:
- The role of the component to call
-
toString
- Overrides:
toString
in classAbstractActionData
-