Class TestsInterview.TreeOrFileChoiceQuestion

  • Enclosing class:
    TestsInterview

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

      • TreeOrFileChoiceQuestion

        public TreeOrFileChoiceQuestion​(Interview interview,
                                        java.lang.String tag)
    • Method Detail

      • getTestSelectionChoices

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

        public void setValue​(java.lang.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:
        ChoiceQuestion.getValue()
      • 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