Class GuardType
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.controls.GuardType
GuardType describes a guard. It is used in the connector provider of a governance service to help
tools understand the operations of a service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the completion status typically used with this guard.Return the description of the action target.getGuard()
Return the string to use as the guard.Return a map of property name to property value to provide additional information for this governance service.int
hashCode()
Return hash code for this objectvoid
setCompletionStatus
(CompletionStatus completionStatus) Set up the completion status typically used with this guard.void
setDescription
(String description) Set up the description of the action target.void
Set up the string to use as the guard.void
setOtherPropertyValues
(Map<String, String> otherPropertyValues) Set up a map of property name to property value to provide additional information for this governance service..toString()
JSON-style toString
-
Constructor Details
-
GuardType
public GuardType()Default constructor -
GuardType
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getGuard
Return the string to use as the guard.- Returns:
- string name
-
setGuard
Set up the string to use as the guard.- Parameters:
guard
- string name
-
getDescription
Return the description of the action target.- Returns:
- string
-
setDescription
Set up the description of the action target.- Parameters:
description
- string
-
getCompletionStatus
Return the completion status typically used with this guard.- Returns:
- name of an open metadata type
-
setCompletionStatus
Set up the completion status typically used with this guard.- Parameters:
completionStatus
- name of an open metadata type
-
getOtherPropertyValues
Return a map of property name to property value to provide additional information for this governance service.- Returns:
- map of string to string
-
setOtherPropertyValues
Set up a map of property name to property value to provide additional information for this governance service..- Parameters:
otherPropertyValues
- map of string to string
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-