Enum Class Fail

java.lang.Object
java.lang.Enum<Fail>
org.aksw.qa.commons.qald.Fail
All Implemented Interfaces:
Serializable, Comparable<Fail>, java.lang.constant.Constable

public enum Fail extends Enum<Fail>
Used to annotate Errors in Qald7Questions
Author:
Jonathan
  • Enum Constant Details

    • ISONLYDBO_WRONG

      public static final Fail ISONLYDBO_WRONG
    • MISSING_KEYWORDS

      public static final Fail MISSING_KEYWORDS
    • MISSING_LANGUAGES

      public static final Fail MISSING_LANGUAGES
    • ANSWERSET_DIFFERS

      public static final Fail ANSWERSET_DIFFERS
    • SPARQL_PARSE_ERROR

      public static final Fail SPARQL_PARSE_ERROR
    • SPARQL_MISSING

      public static final Fail SPARQL_MISSING
    • SPARQL_NOT_EXECUTABLE

      public static final Fail SPARQL_NOT_EXECUTABLE
    • NO_ANSWERS_IN_DATASET

      public static final Fail NO_ANSWERS_IN_DATASET
    • ANSWERTYPE_NOT_SET

      public static final Fail ANSWERTYPE_NOT_SET
  • Constructor Details

    • Fail

      private Fail()
  • Method Details

    • values

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