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
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:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the list of default analysis parameters for the discovery service affected by the change.Return a discovery request type for the discovery service affected by the change.Return the unique identifier of the registered discovery service that has changed.int
hashCode()
Return hash code for this objectvoid
setDefaultAnalysisParameters
(Map<String, String> defaultAnalysisParameters) Set up the list of default analysis parameters for the discovery service affected by the change.void
setDiscoveryRequestType
(String discoveryRequestType) Set up the discovery request type for the discovery service affected by the change.void
setRegisteredDiscoveryServiceGUID
(String registeredDiscoveryServiceGUID) Set up the unique identifier of the registered discovery service that has changed.toString()
JSON-style toStringMethods 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 Details
-
DiscoveryServiceConfigurationEvent
public DiscoveryServiceConfigurationEvent()Default constructor -
DiscoveryServiceConfigurationEvent
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getRegisteredDiscoveryServiceGUID
Return the unique identifier of the registered discovery service that has changed.- Returns:
- string guid
-
setRegisteredDiscoveryServiceGUID
Set up the unique identifier of the registered discovery service that has changed.- Parameters:
registeredDiscoveryServiceGUID
- string guid
-
getDiscoveryRequestType
Return a discovery request type for the discovery service affected by the change.- Returns:
- a discovery request type
-
setDiscoveryRequestType
Set up the discovery request type for the discovery service affected by the change.- Parameters:
discoveryRequestType
- a discovery request type
-
getDefaultAnalysisParameters
Return the list of default analysis parameters for the discovery service affected by the change.- Returns:
- map of parameters
-
setDefaultAnalysisParameters
Set up the list of default analysis parameters for the discovery service affected by the change.- Parameters:
defaultAnalysisParameters
- map of parameters
-
toString
JSON-style toString- Overrides:
toString
in classDiscoveryEngineConfigurationEvent
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classDiscoveryEngineConfigurationEvent
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classDiscoveryEngineConfigurationEvent
- Returns:
- int hash code
-