Class GovernanceServiceConfigurationEvent
java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceEngineEvent
org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceServiceConfigurationEvent
- All Implemented Interfaces:
Serializable
GovernanceServiceConfigurationEvent is used to inform a governance server that the configuration of one of the
governance services within one of its governance engines has changed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the unique identifier of the registered governance service that has changed.Return the list of default analysis parameters for the governance service affected by the change.Return a governance request type for the governance service affected by the change.int
hashCode()
Return hash code for this objectvoid
setRegisteredGovernanceServiceGUID
(String registeredGovernanceServiceGUID) Set up the unique identifier of the registered governance service that has changed.void
setRequestParameters
(Map<String, String> requestParameters) Set up the list of default analysis parameters for the governance service affected by the change.void
setRequestType
(String requestType) Set up the governance request type for the governance service affected by the change.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceEngineEvent
getEventType, getEventVersionId, getGovernanceEngineGUID, getGovernanceEngineName, setEventType, setEventVersionId, setGovernanceEngineGUID, setGovernanceEngineName
-
Constructor Details
-
GovernanceServiceConfigurationEvent
public GovernanceServiceConfigurationEvent()Default constructor -
GovernanceServiceConfigurationEvent
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getRegisteredGovernanceServiceGUID
Return the unique identifier of the registered governance service that has changed.- Returns:
- string guid
-
setRegisteredGovernanceServiceGUID
Set up the unique identifier of the registered governance service that has changed.- Parameters:
registeredGovernanceServiceGUID
- string guid
-
getRequestType
Return a governance request type for the governance service affected by the change.- Returns:
- a governance request type
-
setRequestType
Set up the governance request type for the governance service affected by the change.- Parameters:
requestType
- a governance request type
-
getRequestParameters
Return the list of default analysis parameters for the governance service affected by the change.- Returns:
- map of parameters
-
setRequestParameters
Set up the list of default analysis parameters for the governance service affected by the change.- Parameters:
requestParameters
- map of parameters
-
toString
JSON-style toString- Overrides:
toString
in classGovernanceEngineEvent
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classGovernanceEngineEvent
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classGovernanceEngineEvent
- Returns:
- int hash code
-