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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReportGeneratorConfig.DescriptorImpl
DescriptorImpl forReportGeneratorConfig
.
-
Constructor Summary
Constructors Constructor Description ReportGeneratorConfig(String name, List<ReportGeneratorSetting> settings, boolean usePersistedSettings)
Instantiates a newReportGeneratorConfig
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportGeneratorConfig
expand(EnvVars envVars)
Expands the test configuration parameters by using the current build environment variables.String
getName()
Gets the name of the related template directory.List<ReportGeneratorSetting>
getSettings()
boolean
isUsePersistedSettings()
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
ReportGeneratorConfig
@DataBoundConstructor public ReportGeneratorConfig(String name, List<ReportGeneratorSetting> settings, boolean usePersistedSettings)
Instantiates a newReportGeneratorConfig
.- Parameters:
name
- the namesettings
- the settingsusePersistedSettings
- specifies whether to use report generator settings from persisted configurations files (XML)
-
-
Method Detail
-
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 interfaceExpandableConfig
- Parameters:
envVars
- the build environment variables- Returns:
- the expanded specific configuration
-
-