# Class: com.pnfsoftware.jeb.core.events.AbstractQuestionNotification

Blocking client notification that requires a client\-provided response.

## Constructor: AbstractQuestionNotification
- parameter: `question`, type: `java.lang.String`
- parameter: `defaultResponse`, type: `T`
- parameter: `askDoNotShowAnymore`, type: `boolean`

Description: Create a blocking question notification.
parameter: question: question text shown to the user
parameter: defaultResponse: default response value
parameter: askDoNotShowAnymore: `true` if clients should offer a "do not show again" option

## Method: getDefaultResponse
- return type: `T`

Description: Get the default response value.
return: the default response

## Method: getResponse
- return type: `T`

Description: Get the effective response value.
return: the explicit response if one was set, otherwise the default response

## Method: isAskDoNotShowAnymore
- return type: `boolean`

Description: Determine whether clients should offer a "do not show again" option.
return: `true` if that option should be presented

## Method: isDoNotShowAnymoreResponse
- return type: `boolean`

Description: Determine whether the user asked not to show this notification again.
return: `true` if the client recorded that response

## Method: setDoNotShowAnymoreResponse
- parameter: `doNotShowAnymoreResponse`, type: `boolean`

Description: Set the recorded "do not show again" response.
parameter: doNotShowAnymoreResponse: response value supplied by the client

## Method: setResponse
- parameter: `response`, type: `T`

Description: Set the explicit response value.
parameter: response: response chosen by the client

