Class ReportGeneratorConfig

java.lang.Object
hudson.model.AbstractDescribableImpl<ReportGeneratorConfig>
de.tracetronic.jenkins.plugins.ecutest.report.generator.ReportGeneratorConfig
All Implemented Interfaces:
ExpandableConfig, Describable<ReportGeneratorConfig>, Serializable

public class ReportGeneratorConfig extends AbstractDescribableImpl<ReportGeneratorConfig> implements ExpandableConfig, Serializable
Class holding the report generator configuration.
See Also:
  • Constructor Details

    • ReportGeneratorConfig

      @DataBoundConstructor public ReportGeneratorConfig(String name, List<ReportGeneratorSetting> settings, boolean usePersistedSettings)
      Instantiates a new ReportGeneratorConfig.
      Parameters:
      name - the name
      settings - the settings
      usePersistedSettings - specifies whether to use report generator settings from persisted configurations files (XML)
  • Method Details

    • getName

      public String getName()
      Gets the name of the related template directory.
      Returns:
      the template name
    • getSettings

      public List<ReportGeneratorSetting> getSettings()
    • isUsePersistedSettings

      public boolean isUsePersistedSettings()
    • expand

      public ReportGeneratorConfig expand(EnvVars envVars)
      Description copied from interface: ExpandableConfig
      Expands the test configuration parameters by using the current build environment variables.
      Specified by:
      expand in interface ExpandableConfig
      Parameters:
      envVars - the build environment variables
      Returns:
      the expanded specific configuration