Class GovernanceServiceConfigurationEvent
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceEngineEvent
-
- org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceServiceConfigurationEvent
-
- All Implemented Interfaces:
Serializable
public class GovernanceServiceConfigurationEvent extends GovernanceEngineEvent
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GovernanceServiceConfigurationEvent()Default constructorGovernanceServiceConfigurationEvent(GovernanceServiceConfigurationEvent template)Copy/clone constructor
-
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.StringgetRegisteredGovernanceServiceGUID()Return the unique identifier of the registered governance service that has changed.Map<String,String>getRequestParameters()Return the list of default analysis parameters for the governance service affected by the change.StringgetRequestType()Return a governance request type for the governance service affected by the change.inthashCode()Return hash code for this objectvoidsetRegisteredGovernanceServiceGUID(String registeredGovernanceServiceGUID)Set up the unique identifier of the registered governance service that has changed.voidsetRequestParameters(Map<String,String> requestParameters)Set up the list of default analysis parameters for the governance service affected by the change.voidsetRequestType(String requestType)Set up the governance request type for the governance service affected by the change.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceengine.events.GovernanceEngineEvent
getEventType, getEventVersionId, getGovernanceEngineGUID, getGovernanceEngineName, setEventType, setEventVersionId, setGovernanceEngineGUID, setGovernanceEngineName
-
-
-
-
Constructor Detail
-
GovernanceServiceConfigurationEvent
public GovernanceServiceConfigurationEvent()
Default constructor
-
GovernanceServiceConfigurationEvent
public GovernanceServiceConfigurationEvent(GovernanceServiceConfigurationEvent template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getRegisteredGovernanceServiceGUID
public String getRegisteredGovernanceServiceGUID()
Return the unique identifier of the registered governance service that has changed.- Returns:
- string guid
-
setRegisteredGovernanceServiceGUID
public void setRegisteredGovernanceServiceGUID(String registeredGovernanceServiceGUID)
Set up the unique identifier of the registered governance service that has changed.- Parameters:
registeredGovernanceServiceGUID- string guid
-
getRequestType
public String getRequestType()
Return a governance request type for the governance service affected by the change.- Returns:
- a governance request type
-
setRequestType
public void setRequestType(String requestType)
Set up the governance request type for the governance service affected by the change.- Parameters:
requestType- a governance request type
-
getRequestParameters
public Map<String,String> getRequestParameters()
Return the list of default analysis parameters for the governance service affected by the change.- Returns:
- map of parameters
-
setRequestParameters
public void setRequestParameters(Map<String,String> requestParameters)
Set up the list of default analysis parameters for the governance service affected by the change.- Parameters:
requestParameters- map of parameters
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classGovernanceEngineEvent- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classGovernanceEngineEvent- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classGovernanceEngineEvent- Returns:
- int hash code
-
-