Enum Class ModuleType

java.lang.Object
java.lang.Enum<ModuleType>
dev.jcputney.elearning.parser.enums.ModuleType
All Implemented Interfaces:
Serializable, Comparable<ModuleType>, Constable

public enum ModuleType extends Enum<ModuleType>
Enum representing the different types of modules.

This enum defines the possible module types that can be used in the system.

  • Enum Constant Details

    • SCORM_12

      public static final ModuleType SCORM_12
      SCORM 1.2 module type.
    • SCORM_2004

      public static final ModuleType SCORM_2004
      SCORM 2004 module type.
    • AICC

      public static final ModuleType AICC
      AICC (Aviation Industry Computer-Based Training Committee) module type.
    • CMI5

      public static final ModuleType CMI5
      cmi5 (xAPI for cmi5) module type.
    • XAPI

      public static final ModuleType XAPI
      xAPI/TinCan module type.
  • Method Details

    • values

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