Class ScriptVersionConfiguration
java.lang.Object
org.ametys.core.migration.configuration.impl.ScriptVersionConfiguration
- All Implemented Interfaces:
VersionConfiguration
Script Version Configuration
-
Constructor Summary
ConstructorDescriptionScriptVersionConfiguration
(String componentId, String script, Configuration versionConfiguration, Map<String, Object> additionalParameters) Create the configuration object -
Method Summary
Modifier and TypeMethodDescriptionGet a map of parameters that will be passed to the scriptThe component IdGet the script to run
-
Constructor Details
-
ScriptVersionConfiguration
public ScriptVersionConfiguration(String componentId, String script, Configuration versionConfiguration, Map<String, Object> additionalParameters) Create the configuration object- Parameters:
componentId
- componet idscript
- the script to runversionConfiguration
- full configuration for this handleradditionalParameters
- Some additional parameters
-
-
Method Details
-
getScript
Get the script to run- Returns:
- the script to run
-
getComponentId
The component Id- Returns:
- the component Id
-
getAdditionalParameters
Get a map of parameters that will be passed to the script- Returns:
- a map of parameters that will be passed to the script
-