Class WatchdogGovernanceServiceEvent
java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceEngineEvent
org.odpi.openmetadata.accessservices.governanceengine.events.WatchdogGovernanceServiceEvent
- All Implemented Interfaces:
Serializable
WatchdogGovernanceServiceEvent holds a formatted event for a watchdog governance action service.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.org.odpi.openmetadata.frameworks.governanceaction.events.WatchdogGovernanceEventReturn the event for running Watchdog Governance Action Services.inthashCode()Return hash code for this objectvoidsettWatchdogGovernanceEvent(org.odpi.openmetadata.frameworks.governanceaction.events.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
public org.odpi.openmetadata.frameworks.governanceaction.events.WatchdogGovernanceEvent getWatchdogGovernanceEvent()Return the event for running Watchdog Governance Action Services.- Returns:
- GAF event structure
-
settWatchdogGovernanceEvent
public void settWatchdogGovernanceEvent(org.odpi.openmetadata.frameworks.governanceaction.events.WatchdogGovernanceEvent watchdogGovernanceEvent) Set up the event for running Watchdog Governance Action Services.- Parameters:
watchdogGovernanceEvent- GAF event structure
-
toString
JSON-style toString- Overrides:
toStringin classGovernanceEngineEvent- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classGovernanceEngineEvent- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classGovernanceEngineEvent- Returns:
- int hash code
-