Class FinalQuestion


  • public class FinalQuestion
    extends NullQuestion
    A special type of question used to indicate the last of the questions of an interview.
    • Constructor Detail

      • FinalQuestion

        public FinalQuestion​(Interview interview)
        Create an anonymous question that can be used to mark the end of a series of questions.
        Parameters:
        interview - The interview containing this question.
      • FinalQuestion

        public FinalQuestion​(Interview interview,
                             java.lang.String tag)
        Create a question that can be used to mark the end of a series of questions.
        Parameters:
        interview - The interview containing this question.
        tag - A unique tag to identify this specific question.
    • Method Detail

      • getNext

        protected final Question getNext()
        Get the next question in the series. Since this question is used to mark the end of a series, there is no next question and the result is always null.
        Specified by:
        getNext in class Question
        Returns:
        null