Enum Class RollupActionType

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

public enum RollupActionType extends Enum<RollupActionType>
Enum representing the possible values for action in a rollup rule, specifying the effect on the activity’s status when the rule’s conditions are met. The following schema snippet defines the possible values:

  <xs:simpleType name = "rollupActionType">
 		<xs:restriction base = "xs:token">
 			<xs:enumeration value = "satisfied"/>
 			<xs:enumeration value = "notSatisfied"/>
 			<xs:enumeration value = "completed"/>
 			<xs:enumeration value = "incomplete"/>
 		</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 Constants
    Enum Constant
    Description
    The "completed" value specifies that the activity is considered completed when the rule's conditions are met.
    The "incomplete" value specifies that the activity is considered incomplete when the rule's conditions are met.
    The "notSatisfied" value specifies that the activity is considered not satisfied when the rule's conditions are met.
    The "satisfied" value specifies that the activity is considered satisfied when the rule's conditions are met.
    The "unknown" value is used when the rollup action type is not specified or is not recognized.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • SATISFIED

      public static final RollupActionType SATISFIED
      The "satisfied" value specifies that the activity is considered satisfied when the rule's conditions are met.
    • NOT_SATISFIED

      public static final RollupActionType NOT_SATISFIED
      The "notSatisfied" value specifies that the activity is considered not satisfied when the rule's conditions are met.
    • COMPLETED

      public static final RollupActionType COMPLETED
      The "completed" value specifies that the activity is considered completed when the rule's conditions are met.
    • INCOMPLETE

      public static final RollupActionType INCOMPLETE
      The "incomplete" value specifies that the activity is considered incomplete when the rule's conditions are met.
    • UNKNOWN

      public static final RollupActionType UNKNOWN
      The "unknown" value is used when the rollup action type is not specified or is not recognized.
  • Method Details

    • values

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