Class EventBusConfig

  • All Implemented Interfaces:
    java.io.Serializable

    public class EventBusConfig
    extends AdminServicesConfigHeader
    EventBusConfig caches the default properties that are used to set up event-based connectors in the server. If it is set up then the admin services will ensure that all connectors created after the event bus is configured, that embed an event bus will use the same event bus connector with the core additional properties. (These additional properties can be overridden when a specific connector is set up).
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Validate that an object is equal depending on their stored values.
      java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      Deprecated.
      java.util.Map<java.lang.String,​java.lang.Object> getConfigurationProperties()
      Return the configuration properties for the event bus connection.
      java.lang.String getConnectorProvider()
      Return the class name of the connector provider for the event bus.
      java.lang.String getTopicURLRoot()
      Return the root of the topic URL.
      int hashCode()
      Return a hash code based on the values of this object.
      void setAdditionalProperties​(java.util.Map<java.lang.String,​java.lang.Object> properties)
      Deprecated.
      void setConfigurationProperties​(java.util.Map<java.lang.String,​java.lang.Object> configurationProperties)
      Set up the configuration properties for the event bus connection.
      void setConnectorProvider​(java.lang.String connectorProvider)
      Set up the class name of the connector provider for the event bus.
      void setTopicURLRoot​(java.lang.String topicURLRoot)
      Set up the root of the topic URL.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EventBusConfig

        public EventBusConfig()
        Default constructor
      • EventBusConfig

        public EventBusConfig​(EventBusConfig template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getConnectorProvider

        public java.lang.String getConnectorProvider()
        Return the class name of the connector provider for the event bus.
        Returns:
        class name
      • setConnectorProvider

        public void setConnectorProvider​(java.lang.String connectorProvider)
        Set up the class name of the connector provider for the event bus.
        Parameters:
        connectorProvider - class name
      • getTopicURLRoot

        public java.lang.String getTopicURLRoot()
        Return the root of the topic URL. The open metadata modules will add specific names to the root URL.
        Returns:
        string URL
      • setTopicURLRoot

        public void setTopicURLRoot​(java.lang.String topicURLRoot)
        Set up the root of the topic URL. The open metadata modules will add specific names to the root URL.
        Parameters:
        topicURLRoot - string URL
      • getAdditionalProperties

        @Deprecated
        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
        Deprecated.
        Return the additional properties for the event bus connection.
        Returns:
        map of name value pairs
      • setAdditionalProperties

        @Deprecated
        public void setAdditionalProperties​(java.util.Map<java.lang.String,​java.lang.Object> properties)
        Deprecated.
        Set up the additional properties for the event bus connection.
        Parameters:
        properties - map of name value pairs
      • getConfigurationProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getConfigurationProperties()
        Return the configuration properties for the event bus connection.
        Returns:
        map of name value pairs
      • setConfigurationProperties

        public void setConfigurationProperties​(java.util.Map<java.lang.String,​java.lang.Object> configurationProperties)
        Set up the configuration properties for the event bus connection.
        Parameters:
        configurationProperties - map of name value pairs
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class java.lang.Object
        Returns:
        JSON style description of variables.
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Validate that an object is equal depending on their stored values.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        objectToCompare - object
        Returns:
        boolean result
      • hashCode

        public int hashCode()
        Return a hash code based on the values of this object.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        in hash code