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:
java.io.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 boolean
equals(java.lang.Object objectToCompare)
Return comparison result based on the content of the properties.java.util.Map<java.lang.String,java.lang.String>
getDefaultAnalysisParameters()
Return the list of default analysis parameters for the discovery service affected by the change.java.lang.String
getDiscoveryRequestType()
Return a discovery request type for the discovery service affected by the change.java.lang.String
getRegisteredDiscoveryServiceGUID()
Return the unique identifier of the registered discovery service that has changed.int
hashCode()
Return hash code for this objectvoid
setDefaultAnalysisParameters(java.util.Map<java.lang.String,java.lang.String> defaultAnalysisParameters)
Set up the list of default analysis parameters for the discovery service affected by the change.void
setDiscoveryRequestType(java.lang.String discoveryRequestType)
Set up the discovery request type for the discovery service affected by the change.void
setRegisteredDiscoveryServiceGUID(java.lang.String registeredDiscoveryServiceGUID)
Set up the unique identifier of the registered discovery service that has changed.java.lang.String
toString()
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 java.lang.String getRegisteredDiscoveryServiceGUID()
Return the unique identifier of the registered discovery service that has changed.- Returns:
- string guid
-
setRegisteredDiscoveryServiceGUID
public void setRegisteredDiscoveryServiceGUID(java.lang.String registeredDiscoveryServiceGUID)
Set up the unique identifier of the registered discovery service that has changed.- Parameters:
registeredDiscoveryServiceGUID
- string guid
-
getDiscoveryRequestType
public java.lang.String getDiscoveryRequestType()
Return a discovery request type for the discovery service affected by the change.- Returns:
- a discovery request type
-
setDiscoveryRequestType
public void setDiscoveryRequestType(java.lang.String discoveryRequestType)
Set up the discovery request type for the discovery service affected by the change.- Parameters:
discoveryRequestType
- a discovery request type
-
getDefaultAnalysisParameters
public java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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 java.lang.String toString()
JSON-style toString- Overrides:
toString
in classDiscoveryEngineConfigurationEvent
- Returns:
- return string containing the property names and values
-
equals
public boolean equals(java.lang.Object objectToCompare)
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
-
-