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

public enum SequencingRuleConditionType extends Enum<SequencingRuleConditionType>
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>
 
  • Enum Constant Details

    • SATISFIED

      public static final SequencingRuleConditionType SATISFIED
      The condition is met if the activity or objective is marked as satisfied.
    • OBJECTIVE_STATUS_KNOWN

      public static final SequencingRuleConditionType OBJECTIVE_STATUS_KNOWN
      The condition is met if the status of the objective is known.
    • OBJECTIVE_MEASURE_KNOWN

      public static final SequencingRuleConditionType OBJECTIVE_MEASURE_KNOWN
      The condition is met if the measure of the objective is known.
    • OBJECTIVE_MEASURE_GREATER_THAN

      public static final SequencingRuleConditionType OBJECTIVE_MEASURE_GREATER_THAN
      The condition is met if the measure of the objective is greater than the specified value.
    • OBJECTIVE_MEASURE_LESS_THAN

      public static final SequencingRuleConditionType OBJECTIVE_MEASURE_LESS_THAN
      The condition is met if the measure of the objective is less than the specified value.
    • COMPLETED

      public static final SequencingRuleConditionType COMPLETED
      The condition is met if the activity is marked as completed.
    • ACTIVITY_PROGRESS_KNOWN

      public static final SequencingRuleConditionType ACTIVITY_PROGRESS_KNOWN
      The condition is met if the progress status of the activity is known.
    • ATTEMPTED

      public static final SequencingRuleConditionType ATTEMPTED
      The condition is met if the activity has been attempted.
    • ATTEMPT_LIMIT_EXCEEDED

      public static final SequencingRuleConditionType ATTEMPT_LIMIT_EXCEEDED
      The condition is met if the activity's attempt limit has been exceeded.
    • TIME_LIMIT_EXCEEDED

      public static final SequencingRuleConditionType TIME_LIMIT_EXCEEDED
      The condition is met if the activity's time limit has been exceeded.
    • OUTSIDE_AVAILABLE_TIME_RANGE

      public static final SequencingRuleConditionType OUTSIDE_AVAILABLE_TIME_RANGE
      The condition is met if the current time falls outside the available time range for the activity.
    • ALWAYS

      public static final SequencingRuleConditionType ALWAYS
      The condition is always met.
    • UNKNOWN

      public static final SequencingRuleConditionType UNKNOWN
      The condition is met if the activity's status is unknown or not specified.
  • Method Details

    • values

      public static SequencingRuleConditionType[] 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

      public static SequencingRuleConditionType valueOf(String name)
      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 name
      NullPointerException - if the argument is null