Class ATXSettingParser
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.report.atx.installation.ATXSettingParser
Parser for the ATX template configuration to gather all available ATX settings.
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<ATXSetting<?>>
parseSetting
(Document doc, ATXSetting.SettingsGroup group, String expression) Parses a single setting of the ATX template configuration.static List<ATXSetting<?>>
parseSettings
(Document doc) Parses all settings of the ATX template configuration.
-
Method Details
-
parseSettings
Parses all settings of the ATX template configuration.- Parameters:
doc
- the XML document representation- Returns:
- the map of settings
-
parseSetting
public static List<ATXSetting<?>> parseSetting(Document doc, ATXSetting.SettingsGroup group, String expression) Parses a single setting of the ATX template configuration.- Parameters:
doc
- the XML document representationgroup
- the settings groupexpression
- the XPath expression for a separated setting- Returns:
- the parsed setting represented by a list of settings
-