Enum Class RollupRuleConditionType

java.lang.Object
java.lang.Enum<RollupRuleConditionType>
dev.jcputney.elearning.parser.input.scorm2004.ims.ss.types.RollupRuleConditionType
All Implemented Interfaces:
Serializable, Comparable<RollupRuleConditionType>, Constable

public enum RollupRuleConditionType extends Enum<RollupRuleConditionType>
Enum representing the possible conditions that can be evaluated within a rollup rule. Each condition defines a specific criterion related to the learner's progress, completion, or status of an activity, and can influence the rollup actions. The following schema snippet defines the possible values for this type:

  <xs:simpleType name = "rollupRuleConditionType">
 		<xs:restriction base = "xs:token">
 			<xs:enumeration value = "satisfied"/>
 			<xs:enumeration value = "objectiveStatusKnown"/>
 			<xs:enumeration value = "objectiveMeasureKnown"/>
 			<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:restriction>
 	</xs:simpleType>
 
  • Enum Constant Details

    • SATISFIED

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

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

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

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

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

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

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

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

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

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

    • values

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