Package com.sun.javatest
Interface Parameters.LegacyEnvParameters
- All Superinterfaces:
Parameters.EnvParameters
- All Known Implementing Classes:
EnvironmentInterview
,FileParameters
- Enclosing interface:
Parameters
An interface providing abstract access to environments, as contained
in a set of .jte files, as used by older, legacy test suites. Newer
test suites should not use this interface, but should subtype
EnvParameters directly.
-
Method Summary
Modifier and TypeMethodDescriptionFile[]
Get the set of files which define the environment used to run the tests.File[]
Get the set of files which define the environment used to run the tests.Get the name of the environment to be used, from the set of environments contained in the fles set by setEnvFiles.void
setEnvFiles
(File... files) Set the files which contain the environment used to run the tests.void
setEnvName
(String name) Set the name of the environment to be used, from the set of environments contained in the fles set by setEnvFiles.Methods inherited from interface com.sun.javatest.Parameters.EnvParameters
getEnv
-
Method Details
-
getEnvFiles
File[] getEnvFiles()Get the set of files which define the environment used to run the tests. The files are returned as they were set by setEnvFiles.- Returns:
- the set of files which define the exclude list
- See Also:
-
setEnvFiles
Set the files which contain the environment used to run the tests. Relative files will be evaluated relative to the test suite root directory.- Parameters:
files
- the set of files which contain the environment to be used- See Also:
-
getAbsoluteEnvFiles
File[] getAbsoluteEnvFiles()Get the set of files which define the environment used to run the tests. The files are all returned as absolute files.- Returns:
- the set of files which contact the exclude list
- See Also:
-
getEnvName
String getEnvName()Get the name of the environment to be used, from the set of environments contained in the fles set by setEnvFiles.- Returns:
- the name of the environment to be used to run the tests
- See Also:
-
setEnvName
Set the name of the environment to be used, from the set of environments contained in the fles set by setEnvFiles.- Parameters:
name
- the name of the environment to be used to run the tests- See Also:
-