Enum Class ODCSContractEvaluatorGuard
java.lang.Object
java.lang.Enum<ODCSContractEvaluatorGuard>
org.odpi.openmetadata.adapters.connectors.integration.bitol.contractevaluator.ODCSContractEvaluatorGuard
- All Implemented Interfaces:
Serializable,Comparable<ODCSContractEvaluatorGuard>,Constable
ODCSContractEvaluatorGuard describes the guards produced by the ODCS Contract Evaluator governance action service.
-
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 breaks the contract.The shape of the data has moved away from the contract.No contract covers the asset.Nothing is known about the asset that the contract can be checked against.Everything that could be checked meets the contract.More than one asset was supplied.No action targets were supplied. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturn the typical completion status used with this guard.Return the description of the guard.Return details of a specific guard.Return details of all the guards.getName()Return the name of the guard.toString()Output of this enum class and main value.static ODCSContractEvaluatorGuardReturns the enum constant of this class with the specified name.static ODCSContractEvaluatorGuard[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTRACT_PASSED
Everything that could be checked meets the contract. -
CONTRACT_BUSINESS_VIOLATION
A measured value breaks the contract. -
CONTRACT_CRITICAL_DRIFT
The shape of the data has moved away from the contract. -
CONTRACT_NOT_FOUND
No contract covers the asset. -
CONTRACT_NOT_MEASURED
Nothing is known about the asset that the contract can be checked against. -
NO_TARGETS
No action targets were supplied. -
MULTIPLE_TARGETS
More than one asset was supplied.
-
-
Field Details
-
name
-
completionStatus
-
description
-
-
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
-
getName
Return the name of the guard.- Returns:
- string name
-
getCompletionStatus
Return the typical completion status used with this guard.- Returns:
- completion status
-
getDescription
Return the description of the guard.- Returns:
- text
-
getGuardTypes
Return details of all the guards.- Returns:
- guard types
-
getGuardType
Return details of a specific guard.- Returns:
- guard type
-
toString
Output of this enum class and main value.- Overrides:
toStringin classEnum<ODCSContractEvaluatorGuard>- Returns:
- string showing enum value
-