|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<OutcomeRuleType>
org.qtitools.qti.node.outcome.processing.OutcomeRuleType
public enum OutcomeRuleType
This class creates all supported outcome rules from given CLASS_TAG.
Supported outcome rules: outcomeCondition, setOutcomeValue, exitTest.
Not implemented outcome rules: include.
| Enum Constant Summary | |
|---|---|
EXIT_TEST
Creates exitTest outcome rule. |
|
LOOKUP_OUTCOME_VALUE
Creates lookupOutcomeValue outcome rule. |
|
OUTCOME_CONDITION
Creates outcomeCondition outcome rule. |
|
OUTCOME_PROCESSING_FRAGMENT
Creates outcomeProcessingFragment outcome rule. |
|
SET_OUTCOME_VALUE
Creates setOutcomeValue outcome rule. |
|
| Method Summary | |
|---|---|
abstract OutcomeRule |
create(XmlObject parent)
Creates outcome rule. |
static OutcomeRule |
getInstance(XmlObject parent,
java.lang.String classTag)
Creates outcome rule. |
java.lang.String |
toString()
|
static OutcomeRuleType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OutcomeRuleType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OutcomeRuleType LOOKUP_OUTCOME_VALUE
LookupOutcomeValuepublic static final OutcomeRuleType OUTCOME_CONDITION
OutcomeConditionpublic static final OutcomeRuleType OUTCOME_PROCESSING_FRAGMENT
OutcomeProcessingFragmentpublic static final OutcomeRuleType SET_OUTCOME_VALUE
SetOutcomeValuepublic static final OutcomeRuleType EXIT_TEST
ExitTest| Method Detail |
|---|
public static final OutcomeRuleType[] values()
for(OutcomeRuleType c : OutcomeRuleType.values())
System.out.println(c);
public static OutcomeRuleType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic abstract OutcomeRule create(XmlObject parent)
parent - parent of created outcome rule
public java.lang.String toString()
toString in class java.lang.Enum<OutcomeRuleType>
public static OutcomeRule getInstance(XmlObject parent,
java.lang.String classTag)
parent - parent of created outcome ruleclassTag - CLASS_TAG of created outcome rule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||