Class Plugins

java.lang.Object
io.kroxylicious.proxy.plugin.Plugins

public class Plugins extends Object
  • Method Details

    • requireConfig

      public static <C> C requireConfig(Object pluginImpl, @Nullable C config)
      Checks that the given config is not null, throwing PluginConfigurationException if it is.
      Type Parameters:
      C - The type of the config
      Parameters:
      pluginImpl - The plugin consuming the config
      config - The possibly null config
      Returns:
      The non-null config