Class GovernanceEngineConfigurationEvent
java.lang.Object
org.odpi.openmetadata.accessservices.governanceserver.events.GovernanceServerEvent
org.odpi.openmetadata.accessservices.governanceserver.events.GovernanceEngineConfigurationEvent
- Direct Known Subclasses:
EngineActionEvent
,GovernanceServiceConfigurationEvent
GovernanceEngineConfigurationEvent is used to inform the listening engine hosts that the configuration of
one of the Governance Engines has changed.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the unique identifier of the Governance Engine that has a configuration change.Return the unique name of the Governance Engine that has a configuration change.int
hashCode()
Return hash code for this objectvoid
setGovernanceEngineGUID
(String governanceEngineGUID) Set up the unique identifier of the Governance Engine that has a configuration change.void
setGovernanceEngineName
(String governanceEngineName) Set up the unique name of the Governance Engine that has a configuration change.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.governanceserver.events.GovernanceServerEvent
getEventType, getEventVersionId, setEventType, setEventVersionId
-
Constructor Details
-
GovernanceEngineConfigurationEvent
public GovernanceEngineConfigurationEvent()Default constructor -
GovernanceEngineConfigurationEvent
Copy/clone constructor.- Parameters:
template
- object to copy
-
-
Method Details
-
getGovernanceEngineGUID
Return the unique identifier of the Governance Engine that has a configuration change.- Returns:
- string guid
-
setGovernanceEngineGUID
Set up the unique identifier of the Governance Engine that has a configuration change.- Parameters:
governanceEngineGUID
- string guid
-
getGovernanceEngineName
Return the unique name of the Governance Engine that has a configuration change.- Returns:
- string name
-
setGovernanceEngineName
Set up the unique name of the Governance Engine that has a configuration change.- Parameters:
governanceEngineName
- string name
-
toString
JSON-style toString- Overrides:
toString
in classGovernanceServerEvent
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classGovernanceServerEvent
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classGovernanceServerEvent
- Returns:
- int hash code
-