java.lang.Object
java.lang.Enum<MoveOn>
dev.jcputney.elearning.parser.input.cmi5.types.MoveOn
All Implemented Interfaces:
Serializable, Comparable<MoveOn>, Constable

public enum MoveOn extends Enum<MoveOn>
Enum representing the possible values for moveOn in a CMI5 element, specifying the conditions that must be met to move on to the next activity. The following schema snippet defines the possible values:

   <xs:simpleType name="moveOnValues">
      <xs:restriction base="xs:token">
         <xs:enumeration value="NotApplicable"/>
         <xs:enumeration value="Completed"/>
         <xs:enumeration value="CompletedAndPassed"/>
         <xs:enumeration value="CompletedOrPassed"/>
         <xs:enumeration value="Passed"/>
      </xs:restriction>
   </xs:simpleType>
 
  • Enum Constant Details

    • NOT_APPLICABLE

      public static final MoveOn NOT_APPLICABLE
      The move on condition is not applicable.
    • COMPLETED

      public static final MoveOn COMPLETED
      The move on condition is completed.
    • COMPLETED_AND_PASSED

      public static final MoveOn COMPLETED_AND_PASSED
      The move on condition is completed and passed.
    • COMPLETED_OR_PASSED

      public static final MoveOn COMPLETED_OR_PASSED
      The move on condition is completed or passed.
    • PASSED

      public static final MoveOn PASSED
      The move on condition is passed.
  • Method Details

    • values

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