Enum Class VerifyAssetGuard
java.lang.Object
java.lang.Enum<VerifyAssetGuard>
org.odpi.openmetadata.adapters.connectors.governanceactions.verification.VerifyAssetGuard
- All Implemented Interfaces:
Serializable
,Comparable<VerifyAssetGuard>
,Constable
The Guard enum describes some common guards that can be used when implementing governance services.
Using the common guard names where possible saves time when coding the provider class and improves the
ability of the service to be incorporated into governance action processes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
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 defined guards.getName()
Return the name of the guard.toString()
Output of this enum class and main value.static VerifyAssetGuard
Returns the enum constant of this class with the specified name.static VerifyAssetGuard[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_ZONES
-
NO_OWNER
-
NO_ORIGIN
-
ZONES_ASSIGNED
-
OWNER_ASSIGNED
-
ORIGIN_ASSIGNED
-
VERIFICATION_FAILED
-
NO_TARGETS_DETECTED
-
TARGET_NOT_ASSET
-
MULTIPLE_TARGETS_DETECTED
-
-
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 defined guards.- Returns:
- guard types
-
getGuardType
Return details of a specific guard.- Returns:
- guard type
-
toString
Output of this enum class and main value.- Overrides:
toString
in classEnum<VerifyAssetGuard>
- Returns:
- string showing enum value
-