Enum Class ContractFinding.Kind
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
The sorts of finding.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA measured value fails a rule of severity info.A rule could not be checked because nothing is known about the value it tests.The data does not have the shape that the contract describes: a unit or type differs, or a required or critical field is missing.A measured value fails a rule that the contract says makes the data unfit to use.A measured value fails a rule of severity warning. -
Method Summary
Modifier and TypeMethodDescriptionstatic ContractFinding.KindReturns the enum constant of this class with the specified name.static ContractFinding.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
A measured value fails a rule that the contract says makes the data unfit to use. -
WARNING
A measured value fails a rule of severity warning. -
INFORMATION
A measured value fails a rule of severity info. -
NOT_MEASURED
A rule could not be checked because nothing is known about the value it tests.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-