Class CompositeConfig

java.lang.Object
io.openlineage.client.transports.CompositeConfig
All Implemented Interfaces:
MergeConfig<CompositeConfig>, 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)
    • CompositeConfig

      public CompositeConfig()
  • Method Details

    • createFromTransportConfigs

      public static CompositeConfig createFromTransportConfigs(List<TransportConfig> transports, boolean continueOnFailure)
    • 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)
    • isContinueOnFailure

      public boolean isContinueOnFailure()
    • setContinueOnFailure

      public void setContinueOnFailure(boolean continueOnFailure)