Class DefaultClientAnswerContribution

java.lang.Object
ch.tocco.nice2.web.core.api.clientquestion.DefaultClientAnswerContribution

public class DefaultClientAnswerContribution extends Object
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 Details

    • DefaultClientAnswerContribution

      public DefaultClientAnswerContribution()
  • Method Details

    • getJson

      public String getJson()
    • setJson

      public void setJson(String json)
    • getSupplier

      public DefaultClientAnswerSupplier getSupplier()
    • setSupplier

      public void setSupplier(DefaultClientAnswerSupplier supplier)
    • getClientType

      public String getClientType()
    • setClientType

      public void setClientType(String clientType)
    • getQuestionIdRegex

      public String getQuestionIdRegex()
    • setQuestionIdRegex

      public void setQuestionIdRegex(String questionIdRegex)
    • getQuestionTypeClass

      public Class getQuestionTypeClass()
    • setQuestionTypeClass

      public void setQuestionTypeClass(Class questionTypeClass)