Class ScriptVersionConfiguration

java.lang.Object
org.ametys.core.migration.configuration.impl.ScriptVersionConfiguration
All Implemented Interfaces:
VersionConfiguration

Script Version Configuration
  • Constructor Details

    • ScriptVersionConfiguration

      public ScriptVersionConfiguration(String componentId, String script, Configuration versionConfiguration, Map<String,Object> additionalParameters)
      Create the configuration object
      Parameters:
      componentId - componet id
      script - the script to run
      versionConfiguration - full configuration for this handler
      additionalParameters - Some additional parameters
  • Method Details

    • getScript

      public String 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