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
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 ConstantsEnum ConstantDescriptionThe "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 TypeMethodDescriptionstatic RollupActionTypeReturns the enum constant of this class with the specified name.static RollupActionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SATISFIED
The "satisfied" value specifies that the activity is considered satisfied when the rule's conditions are met. -
NOT_SATISFIED
The "notSatisfied" value specifies that the activity is considered not satisfied when the rule's conditions are met. -
COMPLETED
The "completed" value specifies that the activity is considered completed when the rule's conditions are met. -
INCOMPLETE
The "incomplete" value specifies that the activity is considered incomplete when the rule's conditions are met. -
UNKNOWN
The "unknown" value is used when the rollup action type is not specified or is not recognized.
-
-
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
-