Package com.sun.javatest
Interface InterviewParameters.TemplateManager
- All Known Implementing Classes:
ContextManager
- Enclosing class:
InterviewParameters
public static interface InterviewParameters.TemplateManager
The template manager is used to change behavior of
template saving, the default implementation is
the context manager of corresponding test suite.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canSaveTemplate
(File file) This method is invoked each time before saving template.
-
Method Details
-
canSaveTemplate
This method is invoked each time before saving template. The template will be saved only if this method returns true.- Parameters:
file
- template file- Returns:
- true if this operation is allowed, false otherwise
-