TETware Java API Overview
10. Accessing Configuration Variables
This method provides access to configuration variables. A description of how configuration variables are defined is presented in the chapter entitled "Configuration files" in the TETware Programmers Guide. Note that when a test case or tool is processed by the TCC, this method only provides access to variables that are defined for the current mode of operation. When Distributed TETware is used, this method provides access to the per-system configuration defined for the system on which the calling process is running. This method cannot be used to access configuration variables defined on other systems or distributed configuration variables.
A call to tet_getvar() returns the value of the configuration variable name. If the variable specified by name is defined but has no setting, a String object of zero length is returned. If the variable is undefined, tet_getvar() returns null.
The method returns the values described above.