Interface Interview.Observer

All Known Implementing Classes:
ServiceViewer
Enclosing class:
Interview

public static interface Interview.Observer
An observer interface for receiving notifications as the state of the interview is updated.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when the current question in the interview has been changed.
    void
    Invoked when the set of questions in the current path has been changed.
  • Method Details

    • currentQuestionChanged

      void currentQuestionChanged(Question q)
      Invoked when the current question in the interview has been changed.
      Parameters:
      q - the new current question
    • pathUpdated

      void pathUpdated()
      Invoked when the set of questions in the current path has been changed. This is normally because the response to one of the questions on the path has been changed, thereby causing a change to its successor questions.