Enum Class TimeLimitAction
java.lang.Object
java.lang.Enum<TimeLimitAction>
dev.jcputney.elearning.parser.input.scorm2004.adl.types.TimeLimitAction
- All Implemented Interfaces:
Serializable,Comparable<TimeLimitAction>,Constable
Enum for timeLimitAction values. The following schema snippet defines the possible values:
<xs:simpleType name = "timeLimitActionType">
<xs:restriction base = "xs:string">
<xs:enumeration value = "exit,message"/>
<xs:enumeration value = "exit,no message"/>
<xs:enumeration value = "continue,message"/>
<xs:enumeration value = "continue,no message"/>
</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 ConstantDescriptionContinue the activity and display a message.Continue the activity without displaying a message.Exit the activity and display a message.Exit the activity without displaying a message.Unknown value, used for error handling or default cases. -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeLimitActionReturns the enum constant of this class with the specified name.static TimeLimitAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXIT_MESSAGE
Exit the activity and display a message. -
EXIT_NO_MESSAGE
Exit the activity without displaying a message. -
CONTINUE_MESSAGE
Continue the activity and display a message. -
CONTINUE_NO_MESSAGE
Continue the activity without displaying a message. -
UNKNOWN
Unknown value, used for error handling or default cases.
-
-
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
-