Class TemplateManager
java.lang.Object
org.apache.jmeter.gui.action.template.TemplateManager
Manages Test Plan templates
- Since:
- 2.10
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static final class
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addTemplate
(Template template) static TemplateManager
getTemplateByName
(String selectedTemplate) String[]
parseTemplateFile
(File file) reset()
Resets the template Map by re-reading the template files.
-
Method Details
-
getInstance
-
addTemplate
-
reset
Resets the template Map by re-reading the template files.- Returns:
- this
-
getTemplateNames
- Returns:
- the templates names sorted in alphabetical order
-
parseTemplateFile
public Map<String,Template> parseTemplateFile(File file) throws IOException, SAXException, ParserConfigurationException -
getTemplateByName
- Parameters:
selectedTemplate
- Template name- Returns:
Template
-