Class ConfigurationWarnings

java.lang.Object
org.frankframework.configuration.AbstractApplicationWarnings
org.frankframework.configuration.ConfigurationWarnings
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class ConfigurationWarnings extends AbstractApplicationWarnings
If the source implements NameAware it uses that as prefix, else it will use the ClassName. See ClassUtils.nameOf(Object).
  • Constructor Details

    • ConfigurationWarnings

      public ConfigurationWarnings()
  • Method Details

    • add

      public static void add(@Nonnull HasApplicationContext source, @Nonnull String message)
      Add a ConfigurationWarning.
    • add

      public static void add(@Nullable HasApplicationContext source, @Nonnull org.apache.logging.log4j.Logger log, @Nonnull String message)
      Add a ConfigurationWarning.
    • add

      public static void add(@Nullable HasApplicationContext source, @Nonnull org.apache.logging.log4j.Logger log, @Nonnull String message, @Nullable Throwable t)
      Add a ConfigurationWarning (optionally with NameAware prefix) and log the exception stack
    • add

      public static void add(@Nullable HasApplicationContext source, @Nonnull org.apache.logging.log4j.Logger log, @Nonnull String message, @Nonnull SuppressKeys suppressionKey)
      Add a (globally-)suppressible ConfigurationWarning (optionally with NameAware prefix).
    • add

      public static void add(@Nullable HasApplicationContext source, @Nonnull org.apache.logging.log4j.Logger log, @Nonnull String message, @Nonnull SuppressKeys suppressionKey, @Nullable Adapter adapter)
      Add a suppressible ConfigurationWarning (optionally with NameAware prefix).
    • isSuppressed

      public boolean isSuppressed(@Nonnull SuppressKeys key)
    • isSuppressed

      public static boolean isSuppressed(@Nonnull SuppressKeys key, @Nullable Adapter adapter)
    • add

      public void add(@Nullable Object source, @Nonnull org.apache.logging.log4j.Logger log, String message, @Nonnull SuppressKeys suppressionKey, @Nullable Adapter adapter)