Package org.kissweb
Class CL.Questions
java.lang.Object
org.kissweb.CL.Questions
- Enclosing class:
- CL
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Questions
public Questions()
-
-
Method Details
-
add
Add a question. The application-defined function take no arguments and returns an integer. If the return value is belowstart
, it specifies a relative index of the next question. For example1
means the question defined after the current question. And-1
means the question defined before the current question. Alternatively, the function could return the label (the return value of the add method) of the next question.- Parameters:
fun
-
-
run
public static boolean run()Run through the list of questions.- Returns:
-