Class TestsInterview.TreeOrFileChoiceQuestion

java.lang.Object
com.sun.interview.Question
com.sun.interview.ChoiceQuestion
com.sun.javatest.interview.TestsInterview.TreeOrFileChoiceQuestion
Enclosing class:
TestsInterview

public class TestsInterview.TreeOrFileChoiceQuestion extends ChoiceQuestion
Represents Tests Selection Choice Question. Extracted to separate class for extensibility purposes
  • Constructor Details

    • TreeOrFileChoiceQuestion

      public TreeOrFileChoiceQuestion(Interview interview, String tag)
  • Method Details

    • getTestSelectionChoices

      protected String[] getTestSelectionChoices()
      Should be overridden if more selection choices are needed
      Returns:
      array of test selection choices
    • setValue

      public void setValue(String newValue)
      Description copied from class: ChoiceQuestion
      Set the current value.
      Overrides:
      setValue in class ChoiceQuestion
      Parameters:
      newValue - The value to be set. It must be one of the valid choices for this question, as distinct from the display choices.
      See Also:
    • getNext

      protected Question getNext()
      Description copied from class: Question
      Get the next question to be asked.
      Specified by:
      getNext in class Question
      Returns:
      the next question to be asked