Package tigase.http.modules.setup
Class Setup.Page
- java.lang.Object
-
- tigase.http.modules.setup.Setup.Page
-
-
Constructor Summary
Constructors Constructor Description Page(String title, Stream<Setup.Question> questions)Page(String title, Setup.Question... questions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddQuestion(Setup.Question question)voidbeforeDisplay()StringgetId()Setup.QuestiongetQuestion(String id)StringgetTitle()IntegernextPage()protected voidsetQuestions(Stream<Setup.Question> questions)protected voidsetValues(Map<String,String[]> params)
-
-
-
Constructor Detail
-
Page
public Page(String title, Stream<Setup.Question> questions)
-
Page
public Page(String title, Setup.Question... questions)
-
-
Method Detail
-
getId
public String getId()
-
getTitle
public String getTitle()
-
getQuestion
public Setup.Question getQuestion(String id)
-
beforeDisplay
public void beforeDisplay()
-
nextPage
public Integer nextPage()
-
addQuestion
protected void addQuestion(Setup.Question question)
-
setQuestions
protected void setQuestions(Stream<Setup.Question> questions)
-
-