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

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

    • EXIT_MESSAGE

      public static final TimeLimitAction EXIT_MESSAGE
      Exit the activity and display a message.
    • EXIT_NO_MESSAGE

      public static final TimeLimitAction EXIT_NO_MESSAGE
      Exit the activity without displaying a message.
    • CONTINUE_MESSAGE

      public static final TimeLimitAction CONTINUE_MESSAGE
      Continue the activity and display a message.
    • CONTINUE_NO_MESSAGE

      public static final TimeLimitAction CONTINUE_NO_MESSAGE
      Continue the activity without displaying a message.
    • UNKNOWN

      public static final TimeLimitAction UNKNOWN
      Unknown value, used for error handling or default cases.
  • Method Details

    • values

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