Class QuestionNotificationPath


public class QuestionNotificationPath extends AbstractQuestionNotification<String>
A specific question notification that requires a path.
  • Constructor Details

    • QuestionNotificationPath

      public QuestionNotificationPath(QuestionNotificationPath.Type pathType, String question, String defaultResponse)
      Create a path-selection question notification.
      Parameters:
      pathType - expected kind of path
      question - question text
      defaultResponse - default path value
  • Method Details

    • getPathType

      public QuestionNotificationPath.Type getPathType()
      Get the kind of path expected from the client.
      Returns:
      the requested path type