Interface Parameters.LegacyEnvParameters

All Superinterfaces:
Parameters.EnvParameters
All Known Implementing Classes:
EnvironmentInterview, FileParameters
Enclosing interface:
Parameters

public static interface Parameters.LegacyEnvParameters extends Parameters.EnvParameters
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 Type
    Method
    Description
    Get the set of files which define the environment used to run the tests.
    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
    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

      void setEnvFiles(File... files)
      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

      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.
      Parameters:
      name - the name of the environment to be used to run the tests
      See Also: