Class DefaultClientAnswerContribution
java.lang.Object
ch.tocco.nice2.web.core.api.clientquestion.DefaultClientAnswerContribution
Contribution for a default client answer. The following fields need to be set:
-
clientType
: values 'backend', 'frontend', 'unknown' permitted
- one of questionIdRegex
or questionTypeClass
- one of json
or supplier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetJson()
void
setClientType
(String clientType) void
void
setQuestionIdRegex
(String questionIdRegex) void
setQuestionTypeClass
(Class questionTypeClass) void
setSupplier
(DefaultClientAnswerSupplier supplier)
-
Constructor Details
-
DefaultClientAnswerContribution
public DefaultClientAnswerContribution()
-
-
Method Details
-
getJson
-
setJson
-
getSupplier
-
setSupplier
-
getClientType
-
setClientType
-
getQuestionIdRegex
-
setQuestionIdRegex
-
getQuestionTypeClass
-
setQuestionTypeClass
-