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
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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).inthashCode()Create a hash code for this element type.voidsetEventType(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.
-