Enum Class SequencingRuleConditionType
java.lang.Object
java.lang.Enum<SequencingRuleConditionType>
dev.jcputney.elearning.parser.input.scorm2004.ims.ss.types.SequencingRuleConditionType
- All Implemented Interfaces:
Serializable,Comparable<SequencingRuleConditionType>,Constable
Enum representing the possible values for
conditionType in a sequencing rule
condition, specifying the type of condition that must be met for the rule to apply. These
conditions control whether the rule's action should be executed based on criteria such as
activity completion status, attempt count, or objective status. The following schema snippet
defines the possible values for this type:
<xs:simpleType name = "sequencingRuleConditionType">
<xs:restriction base = "xs:token">
<xs:enumeration value = "satisfied"/>
<xs:enumeration value = "objectiveStatusKnown"/>
<xs:enumeration value = "objectiveMeasureKnown"/>
<xs:enumeration value = "objectiveMeasureGreaterThan"/>
<xs:enumeration value = "objectiveMeasureLessThan"/>
<xs:enumeration value = "completed"/>
<xs:enumeration value = "activityProgressKnown"/>
<xs:enumeration value = "attempted"/>
<xs:enumeration value = "attemptLimitExceeded"/>
<xs:enumeration value = "timeLimitExceeded"/>
<xs:enumeration value = "outsideAvailableTimeRange"/>
<xs:enumeration value = "always"/>
</xs:restriction>
</xs:simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe condition is met if the progress status of the activity is known.The condition is always met.The condition is met if the activity's attempt limit has been exceeded.The condition is met if the activity has been attempted.The condition is met if the activity is marked as completed.The condition is met if the measure of the objective is greater than the specified value.The condition is met if the measure of the objective is known.The condition is met if the measure of the objective is less than the specified value.The condition is met if the status of the objective is known.The condition is met if the current time falls outside the available time range for the activity.The condition is met if the activity or objective is marked as satisfied.The condition is met if the activity's time limit has been exceeded.The condition is met if the activity's status is unknown or not specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic SequencingRuleConditionTypeReturns the enum constant of this class with the specified name.static SequencingRuleConditionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SATISFIED
The condition is met if the activity or objective is marked as satisfied. -
OBJECTIVE_STATUS_KNOWN
The condition is met if the status of the objective is known. -
OBJECTIVE_MEASURE_KNOWN
The condition is met if the measure of the objective is known. -
OBJECTIVE_MEASURE_GREATER_THAN
The condition is met if the measure of the objective is greater than the specified value. -
OBJECTIVE_MEASURE_LESS_THAN
The condition is met if the measure of the objective is less than the specified value. -
COMPLETED
The condition is met if the activity is marked as completed. -
ACTIVITY_PROGRESS_KNOWN
The condition is met if the progress status of the activity is known. -
ATTEMPTED
The condition is met if the activity has been attempted. -
ATTEMPT_LIMIT_EXCEEDED
The condition is met if the activity's attempt limit has been exceeded. -
TIME_LIMIT_EXCEEDED
The condition is met if the activity's time limit has been exceeded. -
OUTSIDE_AVAILABLE_TIME_RANGE
The condition is met if the current time falls outside the available time range for the activity. -
ALWAYS
The condition is always met. -
UNKNOWN
The condition is met if the activity's status is unknown or not specified.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-