use of life.genny.qwanda.Answer in project rulesservice by genny-project.
the class QRules method publishData.
public void publishData(final List<Answer> answerList) {
Answer[] answerArray = answerList.toArray(new Answer[answerList.size()]);
QDataAnswerMessage msg = new QDataAnswerMessage(answerArray);
msg.setToken(getToken());
publish("data", JsonUtils.toJson(msg));
}
Aggregations