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
 boolean canSaveTemplate(java.io.File file)
          This method is invoked each time before saving template.
 

Method Detail

canSaveTemplate

boolean canSaveTemplate(java.io.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


Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.