Class CompositeConfig

java.lang.Object
io.openlineage.client.transports.CompositeConfig
All Implemented Interfaces:
MergeConfig<CompositeConfig>, TransportConfig, Comparable<TransportConfig>

public final class CompositeConfig extends Object implements TransportConfig, MergeConfig<CompositeConfig>
CompositeConfig is a configuration class for CompositeTransport, implementing TransportConfig.
  • Constructor Details

    • CompositeConfig

      public CompositeConfig(Object transports, Boolean continueOnFailure, Boolean withThreadPool)
    • CompositeConfig

      public CompositeConfig()
  • Method Details

    • createFromTransportConfigs

      public static CompositeConfig createFromTransportConfigs(List<TransportConfig> transports, boolean continueOnFailure, boolean withThreadPool)
    • mergeWithNonNull

      public CompositeConfig mergeWithNonNull(CompositeConfig other)
      Description copied from interface: MergeConfig
      Method to create new config class based on current instance and non-null argument value. In most cases, implementation needs to create a new instance of T, while merging all the properties.
      Specified by:
      mergeWithNonNull in interface MergeConfig<CompositeConfig>
      Parameters:
      other - overwrite value
      Returns:
      merged config entry
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getTransports

      public List<TransportConfig> getTransports()
    • setTransports

      public void setTransports(List<TransportConfig> transports)
    • getContinueOnFailure

      public Boolean getContinueOnFailure()
    • setContinueOnFailure

      public void setContinueOnFailure(Boolean continueOnFailure)
    • getWithThreadPool

      public Boolean getWithThreadPool()
    • setWithThreadPool

      public void setWithThreadPool(Boolean withThreadPool)