Class ATXSettingParser
- java.lang.Object
-
- de.tracetronic.jenkins.plugins.ecutest.report.atx.installation.ATXSettingParser
-
public final class ATXSettingParser extends Object
Parser for the ATX template configuration to gather all available ATX settings.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
parseSettings
public static List<ATXSetting<?>> parseSettings(Document doc)
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
-
-