Class WatchdogGovernanceEvent
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.events.WatchdogGovernanceEvent
- Direct Known Subclasses:
WatchdogMetadataElementEvent
,WatchdogRelatedElementsEvent
WatchdogGovernanceEvent describes the structure of the events passed to the WatchdogGovernanceActionService.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the type of event (used to get the class to cast to).int
hashCode()
Create a hash code for this element type.void
setEventType
(WatchdogEventType eventType) Set up the event type.toString()
Standard toString method.
-
Constructor Details
-
WatchdogGovernanceEvent
public WatchdogGovernanceEvent()Default constructor -
WatchdogGovernanceEvent
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getEventType
Return the type of event (used to get the class to cast to).- Returns:
- event type
-
setEventType
Set up the event type. This should tie up with the subclass of the event.- Parameters:
eventType
- event type
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-