com.waveset.policy
Class LighthouseAccountPolicy.QuestionPolicy
java.lang.Object
com.waveset.policy.LighthouseAccountPolicy.QuestionPolicy
- Enclosing class:
- LighthouseAccountPolicy
- public static class LighthouseAccountPolicy.QuestionPolicy
- extends java.lang.Object
Used for values of the _questionPolicy field.
- ALL means that all of the questions should be
answered.
- ANY means that any one of the questions should
be answered.
- RANDOM means that a random select of the questions
should be answered. The number of questions to select is
determined by the _randomQuestionCount field in the role.
- ROUND_ROBIN means that, given a set of ordered questions,
this policy will ensure that each question will be returned
in order until all in the set have been returned. The next
request will start over by returning the first question and
so on. The _roundrobinIndex will be used to maintain the index
to the next question to be returned.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ALL
public static final LighthouseAccountPolicy.QuestionPolicy ALL
ANY
public static final LighthouseAccountPolicy.QuestionPolicy ANY
RANDOM
public static final LighthouseAccountPolicy.QuestionPolicy RANDOM
ROUND_ROBIN
public static final LighthouseAccountPolicy.QuestionPolicy ROUND_ROBIN
ITEMS
public static final LighthouseAccountPolicy.QuestionPolicy[] ITEMS
toString
public java.lang.String toString()
fromString
public static LighthouseAccountPolicy.QuestionPolicy fromString(java.lang.String name)
equals
public boolean equals(java.lang.Object o)