com.waveset.policy
Class LighthouseAccountPolicy.QuestionPolicy

java.lang.Object
  extended bycom.waveset.policy.LighthouseAccountPolicy.QuestionPolicy
Enclosing class:
LighthouseAccountPolicy

public static class LighthouseAccountPolicy.QuestionPolicy
extends java.lang.Object

Used for values of the _questionPolicy field.

  1. ALL means that all of the questions should be answered.
  2. ANY means that any one of the questions should be answered.
  3. 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.
  4. 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.


Field Summary
static LighthouseAccountPolicy.QuestionPolicy ALL
           
static LighthouseAccountPolicy.QuestionPolicy ANY
           
static LighthouseAccountPolicy.QuestionPolicy[] ITEMS
           
static LighthouseAccountPolicy.QuestionPolicy RANDOM
           
static LighthouseAccountPolicy.QuestionPolicy ROUND_ROBIN
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
static LighthouseAccountPolicy.QuestionPolicy fromString(java.lang.String name)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Method Detail

toString

public java.lang.String toString()

fromString

public static LighthouseAccountPolicy.QuestionPolicy fromString(java.lang.String name)

equals

public boolean equals(java.lang.Object o)