java.lang.Object
java.lang.Enum<ContractFinding.Kind>
org.odpi.openmetadata.adapters.connectors.integration.bitol.contractevaluator.ContractFinding.Kind
All Implemented Interfaces:
Serializable, Comparable<ContractFinding.Kind>, Constable
Enclosing class:
ContractFinding

public static enum ContractFinding.Kind extends Enum<ContractFinding.Kind>
The sorts of finding.
  • Enum Constant Details

    • SHAPE_DRIFT

      public static final ContractFinding.Kind SHAPE_DRIFT
      The data does not have the shape that the contract describes: a unit or type differs, or a required or critical field is missing.
    • VALUE_VIOLATION

      public static final ContractFinding.Kind VALUE_VIOLATION
      A measured value fails a rule that the contract says makes the data unfit to use.
    • WARNING

      public static final ContractFinding.Kind WARNING
      A measured value fails a rule of severity warning.
    • INFORMATION

      public static final ContractFinding.Kind INFORMATION
      A measured value fails a rule of severity info.
    • NOT_MEASURED

      public static final ContractFinding.Kind NOT_MEASURED
      A rule could not be checked because nothing is known about the value it tests.
  • Method Details

    • values

      public static ContractFinding.Kind[] 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 ContractFinding.Kind 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