public class Page extends Object
| Constructor and Description |
|---|
Page(String title,
String template,
Question... questions) |
Page(String title,
String template,
Stream<Question> questions) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addQuestion(Question question) |
void |
beforeDisplay() |
String |
getId() |
Question |
getQuestion(String id) |
String |
getTemplate() |
String |
getTitle() |
void |
init(Setup setup) |
boolean |
isValid() |
String |
nextPage() |
protected void |
setQuestions(Stream<Question> questions) |
void |
setValues(Map<String,String[]> params) |
public String getId()
public void init(Setup setup)
public String getTemplate()
public String getTitle()
public void beforeDisplay()
public String nextPage()
protected void addQuestion(Question question)
public boolean isValid()
Copyright © 2013–2021 Tigase. All rights reserved.