Enum Class ExitActionType

java.lang.Object
java.lang.Enum<ExitActionType>
dev.jcputney.elearning.parser.input.lom.properties.ExitActionType
All Implemented Interfaces:
Serializable, Comparable<ExitActionType>, Constable

public enum ExitActionType extends Enum<ExitActionType>

Enum representing the exitActionType simple type.

The following schema snippet defines the possible values:


 <xs:simpleType name="exitActionType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="exit,no confirmation" />
     <xs:enumeration value="exit,confirmation" />
     <xs:enumeration value="continue" />
     <xs:enumeration value="message page" />
     <xs:enumeration value="do nothing" />
   </xs:restriction>
 </xs:simpleType>
 
  • Enum Constant Details

    • EXIT_NO_CONFIRMATION

      public static final ExitActionType EXIT_NO_CONFIRMATION
      The exit action is to exit without confirmation.
    • EXIT_CONFIRMATION

      public static final ExitActionType EXIT_CONFIRMATION
      The exit action is to exit with confirmation.
    • CONTINUE

      public static final ExitActionType CONTINUE
      The exit action is to continue.
    • MESSAGE_PAGE

      public static final ExitActionType MESSAGE_PAGE
      The exit action is to display a message page.
    • DO_NOTHING

      public static final ExitActionType DO_NOTHING
      The exit action is to do nothing.
  • Method Details

    • values

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