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 Type
    Method
    Description
    boolean
    This method is invoked each time before saving template.
  • Method Details

    • canSaveTemplate

      boolean canSaveTemplate(File file)
      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