Interface LogObserverConfig

All Superinterfaces:
ObserverConfigBase, Prototype.Api, Prototype.Factory<LogObserver>
All Known Implementing Classes:
LogObserverConfig.BuilderBase.LogObserverConfigImpl

public interface LogObserverConfig extends Prototype.Api, ObserverConfigBase
Log Observer configuration.
See Also:
  • Method Details

    • builder

      static LogObserverConfig.Builder builder()
      Create a new fluent API builder to customize configuration.
      Returns:
      a new builder
    • builder

      static LogObserverConfig.Builder builder(LogObserverConfig instance)
      Create a new fluent API builder from an existing instance.
      Parameters:
      instance - an existing instance used as a base for the builder
      Returns:
      a builder based on an instance
    • create

      static LogObserverConfig create(Config config)
      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      static LogObserverConfig create()
      Create a new instance with default values.
      Returns:
      a new instance
    • endpoint

      String endpoint()
    • name

      String name()
    • permitAll

      boolean permitAll()
      Permit all access, even when not authorized.
      Returns:
      whether to permit access for anybody
    • stream

      LogStreamConfig stream()
      Configuration of log stream.
      Returns:
      log stream configuration
    • enabled

      boolean enabled()
      Whether this observer is enabled.
      Returns:
      false to disable observer