Package com.pnfsoftware.jeb.core.events
Class QuestionNotificationPath
java.lang.Object
com.pnfsoftware.jeb.core.events.ClientNotification
com.pnfsoftware.jeb.core.events.AbstractQuestionNotification<String>
com.pnfsoftware.jeb.core.events.QuestionNotificationPath
A specific question notification that requires a path.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of path to be provided in the notification response. -
Constructor Summary
ConstructorsConstructorDescriptionQuestionNotificationPath(QuestionNotificationPath.Type pathType, String question, String defaultResponse) Create a path-selection question notification. -
Method Summary
Modifier and TypeMethodDescriptionGet the kind of path expected from the client.Methods inherited from class com.pnfsoftware.jeb.core.events.AbstractQuestionNotification
getDefaultResponse, getResponse, isAskDoNotShowAnymore, isDoNotShowAnymoreResponse, setDoNotShowAnymoreResponse, setResponseMethods inherited from class com.pnfsoftware.jeb.core.events.ClientNotification
getLevel, getMessage
-
Constructor Details
-
QuestionNotificationPath
public QuestionNotificationPath(QuestionNotificationPath.Type pathType, String question, String defaultResponse) Create a path-selection question notification.- Parameters:
pathType- expected kind of pathquestion- question textdefaultResponse- default path value
-
-
Method Details
-
getPathType
Get the kind of path expected from the client.- Returns:
- the requested path type
-