Class WatchdogGovernanceServiceEvent
java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceEngineEvent
org.odpi.openmetadata.accessservices.governanceengine.events.WatchdogGovernanceServiceEvent
WatchdogGovernanceServiceEvent holds a formatted event for a watchdog governance action service.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the event for running Watchdog Governance Action Services.int
hashCode()
Return hash code for this objectvoid
settWatchdogGovernanceEvent
(WatchdogGovernanceEvent watchdogGovernanceEvent) Set up the event for running Watchdog Governance Action Services.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceEngineEvent
getEventType, getEventVersionId, getGovernanceEngineGUID, getGovernanceEngineName, setEventType, setEventVersionId, setGovernanceEngineGUID, setGovernanceEngineName
-
Constructor Details
-
WatchdogGovernanceServiceEvent
public WatchdogGovernanceServiceEvent()Default constructor -
WatchdogGovernanceServiceEvent
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getWatchdogGovernanceEvent
Return the event for running Watchdog Governance Action Services.- Returns:
- GAF event structure
-
settWatchdogGovernanceEvent
Set up the event for running Watchdog Governance Action Services.- Parameters:
watchdogGovernanceEvent
- GAF event structure
-
toString
JSON-style toString- Overrides:
toString
in classGovernanceEngineEvent
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classGovernanceEngineEvent
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classGovernanceEngineEvent
- Returns:
- int hash code
-