Package com.sun.ts.lib.harness

# Class TSKeywords

java.lang.Object
com.sun.ts.lib.harness.TSKeywords

public class TSKeywords extends Object
This class is used by the TS harness to figure out which keywords should be associated with directories of tests. Keywords are read in by the TSTestFinder and written out to the test decriptions. A singleton class not intended for concurrent access.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final String`
  `KEYWORD_PROP_FILE_NAME`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static TSKeywords`
  `getInstance(File path)`
  `String[]`
  `getKeywordSet()`
  This method gets the current set of keywords to be used for a given directory path.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### KEYWORD_PROP_FILE_NAME

    public static final String KEYWORD_PROP_FILE_NAME
    See Also:
      - Constant Field Values

- ## Method Details

  - ### getInstance

    public static TSKeywords getInstance(File path)

  - ### getKeywordSet

    public String[] getKeywordSet()
    This method gets the current set of keywords to be used for a given directory path.
    Returns:
      a String array of the keywords that this test should be run in