Class GovernanceEngineEvent
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceEngineEvent
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GovernanceActionEvent,GovernanceEngineConfigurationEvent,GovernanceServiceConfigurationEvent,WatchdogGovernanceServiceEvent
public abstract class GovernanceEngineEvent extends Object implements Serializable
GovernanceEngineEvent provides a common base for all events from the access service. It implements Serializable and a version Id.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.GovernanceEngineEventTypegetEventType()Return the type of event.longgetEventVersionId()Return the event version id for this event structure.StringgetGovernanceEngineGUID()Return the unique identifier of the governance engine that has a configuration change.StringgetGovernanceEngineName()Return the unique name of the governance engine that has a configuration change.inthashCode()Return hash code for this objectvoidsetEventType(GovernanceEngineEventType eventType)Set up the type of event.voidsetEventVersionId(long eventVersionId)Set up the event version id for this event structure.voidsetGovernanceEngineGUID(String governanceEngineGUID)Set up the unique identifier of the governance engine that has a configuration change.voidsetGovernanceEngineName(String governanceEngineName)Set up the unique name of the governance engine that has a configuration change.StringtoString()JSON-style toString
-
-
-
Method Detail
-
getEventVersionId
public long getEventVersionId()
Return the event version id for this event structure.- Returns:
- long
-
setEventVersionId
public void setEventVersionId(long eventVersionId)
Set up the event version id for this event structure.- Parameters:
eventVersionId- long
-
getEventType
public GovernanceEngineEventType getEventType()
Return the type of event.- Returns:
- event type enum
-
setEventType
public void setEventType(GovernanceEngineEventType eventType)
Set up the type of event.- Parameters:
eventType- - event type enum
-
getGovernanceEngineGUID
public String getGovernanceEngineGUID()
Return the unique identifier of the governance engine that has a configuration change.- Returns:
- string guid
-
setGovernanceEngineGUID
public void setGovernanceEngineGUID(String governanceEngineGUID)
Set up the unique identifier of the governance engine that has a configuration change.- Parameters:
governanceEngineGUID- string guid
-
getGovernanceEngineName
public String getGovernanceEngineName()
Return the unique name of the governance engine that has a configuration change.- Returns:
- string name
-
setGovernanceEngineName
public void setGovernanceEngineName(String governanceEngineName)
Set up the unique name of the governance engine that has a configuration change.- Parameters:
governanceEngineName- string name
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-