Posting a flag shows a response in the UI (correct or incorrect)

This commit is contained in:
Nanne Baars
2017-05-02 03:25:31 +02:00
parent a134b25213
commit 615ca5afe3
3 changed files with 23 additions and 11 deletions

View File

@ -51,6 +51,12 @@ public class AttackResult {
return this;
}
public AttackResultBuilder lessonCompleted(boolean lessonCompleted, String resourceBundleKey) {
this.lessonCompleted = lessonCompleted;
this.feedbackResourceBundleKey = resourceBundleKey;
return this;
}
public AttackResultBuilder feedbackArgs(Object... args) {
this.feedbackArgs = args;
return this;