Enum ResultStatus

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      FAIL
      The resulting test or requirement evaluation was unsuccessful and resulted in an error.
      INFORMATIONAL
      The resulting test or requirement was evaluated, but produced an informative result that does not indicate success or failure.
      NOT_APPLICABLE
      The requirement is implemented, but was not evaluated because the requirement's pre-condition was not met.
      NOT_IN_SCOPE
      The requirement was determined to not be in the assessment scope; thus, it was not evaluated.
      NOT_TESTED
      The requirement is in the assessment scope, but it does not have a test implementation.
      PASS
      The resulting test or requirement evaluation was successful.
      WARNING
      The resulting test or requirement evaluation was unsuccessful and resulted in a warning.
    • Enum Constant Detail

      • NOT_IN_SCOPE

        public static final ResultStatus NOT_IN_SCOPE
        The requirement was determined to not be in the assessment scope; thus, it was not evaluated.
      • NOT_TESTED

        public static final ResultStatus NOT_TESTED
        The requirement is in the assessment scope, but it does not have a test implementation.
      • NOT_APPLICABLE

        public static final ResultStatus NOT_APPLICABLE
        The requirement is implemented, but was not evaluated because the requirement's pre-condition was not met.
      • INFORMATIONAL

        public static final ResultStatus INFORMATIONAL
        The resulting test or requirement was evaluated, but produced an informative result that does not indicate success or failure.
      • PASS

        public static final ResultStatus PASS
        The resulting test or requirement evaluation was successful.
      • WARNING

        public static final ResultStatus WARNING
        The resulting test or requirement evaluation was unsuccessful and resulted in a warning.
      • FAIL

        public static final ResultStatus FAIL
        The resulting test or requirement evaluation was unsuccessful and resulted in an error.
    • Method Detail

      • values

        public static ResultStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ResultStatus c : ResultStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ResultStatus valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null