Class DiscoveryServiceConfigurationEvent
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.discoveryengine.events.DiscoveryEngineEvent
-
- org.odpi.openmetadata.accessservices.discoveryengine.events.DiscoveryEngineConfigurationEvent
-
- org.odpi.openmetadata.accessservices.discoveryengine.events.DiscoveryServiceConfigurationEvent
-
- All Implemented Interfaces:
Serializable
public class DiscoveryServiceConfigurationEvent extends DiscoveryEngineConfigurationEvent
DiscoveryServiceConfigurationEvent is used to inform a discovery server that the configuration of one of the discovery services within one of its discovery engines has changed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DiscoveryServiceConfigurationEvent()Default constructorDiscoveryServiceConfigurationEvent(DiscoveryServiceConfigurationEvent 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.Map<String,String>getDefaultAnalysisParameters()Return the list of default analysis parameters for the discovery service affected by the change.StringgetDiscoveryRequestType()Return a discovery request type for the discovery service affected by the change.StringgetRegisteredDiscoveryServiceGUID()Return the unique identifier of the registered discovery service that has changed.inthashCode()Return hash code for this objectvoidsetDefaultAnalysisParameters(Map<String,String> defaultAnalysisParameters)Set up the list of default analysis parameters for the discovery service affected by the change.voidsetDiscoveryRequestType(String discoveryRequestType)Set up the discovery request type for the discovery service affected by the change.voidsetRegisteredDiscoveryServiceGUID(String registeredDiscoveryServiceGUID)Set up the unique identifier of the registered discovery service that has changed.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.discoveryengine.events.DiscoveryEngineConfigurationEvent
getDiscoveryEngineGUID, getDiscoveryEngineName, setDiscoveryEngineGUID, setDiscoveryEngineName
-
Methods inherited from class org.odpi.openmetadata.accessservices.discoveryengine.events.DiscoveryEngineEvent
getEventType, getEventVersionId, setEventType, setEventVersionId
-
-
-
-
Constructor Detail
-
DiscoveryServiceConfigurationEvent
public DiscoveryServiceConfigurationEvent()
Default constructor
-
DiscoveryServiceConfigurationEvent
public DiscoveryServiceConfigurationEvent(DiscoveryServiceConfigurationEvent template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getRegisteredDiscoveryServiceGUID
public String getRegisteredDiscoveryServiceGUID()
Return the unique identifier of the registered discovery service that has changed.- Returns:
- string guid
-
setRegisteredDiscoveryServiceGUID
public void setRegisteredDiscoveryServiceGUID(String registeredDiscoveryServiceGUID)
Set up the unique identifier of the registered discovery service that has changed.- Parameters:
registeredDiscoveryServiceGUID- string guid
-
getDiscoveryRequestType
public String getDiscoveryRequestType()
Return a discovery request type for the discovery service affected by the change.- Returns:
- a discovery request type
-
setDiscoveryRequestType
public void setDiscoveryRequestType(String discoveryRequestType)
Set up the discovery request type for the discovery service affected by the change.- Parameters:
discoveryRequestType- a discovery request type
-
getDefaultAnalysisParameters
public Map<String,String> getDefaultAnalysisParameters()
Return the list of default analysis parameters for the discovery service affected by the change.- Returns:
- map of parameters
-
setDefaultAnalysisParameters
public void setDefaultAnalysisParameters(Map<String,String> defaultAnalysisParameters)
Set up the list of default analysis parameters for the discovery service affected by the change.- Parameters:
defaultAnalysisParameters- map of parameters
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classDiscoveryEngineConfigurationEvent- 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 classDiscoveryEngineConfigurationEvent- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classDiscoveryEngineConfigurationEvent- Returns:
- int hash code
-
-