Class WatchdogGovernanceEvent
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.governanceaction.events.WatchdogGovernanceEvent
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
WatchdogMetadataElementEvent,WatchdogRelatedElementsEvent
public abstract class WatchdogGovernanceEvent extends Object implements Serializable
WatchdogGovernanceEvent describes the structure of the events passed to the WatchdogGovernanceActionService.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WatchdogGovernanceEvent()Default constructorWatchdogGovernanceEvent(WatchdogGovernanceEvent template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.WatchdogEventTypegetEventType()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.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
WatchdogGovernanceEvent
public WatchdogGovernanceEvent()
Default constructor
-
WatchdogGovernanceEvent
public WatchdogGovernanceEvent(WatchdogGovernanceEvent template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getEventType
public WatchdogEventType getEventType()
Return the type of event (used to get the class to cast to).- Returns:
- event type
-
setEventType
public void setEventType(WatchdogEventType eventType)
Set up the event type. This should tie up with the subclass of the event.- Parameters:
eventType- event type
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-