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
If the source implements
NameAware it uses that as prefix, else it will use the ClassName.
See ClassUtils.nameOf(Object).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(@Nullable Object source, @NonNull org.apache.logging.log4j.Logger log, String message, @NonNull SuppressKeys suppressionKey, @Nullable Adapter adapter) static voidadd(@NonNull HasApplicationContext source, @NonNull String message) Add a ConfigurationWarning.static voidadd(@Nullable HasApplicationContext source, @NonNull org.apache.logging.log4j.Logger log, @NonNull String message) Add a ConfigurationWarning.static voidadd(@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 stackstatic voidadd(@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).static voidadd(@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).booleanisSuppressed(@NonNull SuppressKeys key) static booleanisSuppressed(@NonNull SuppressKeys key, @Nullable Adapter adapter) Methods inherited from class AbstractApplicationWarnings
add, add, addWarnings, afterPropertiesSet, destroy, doAdd, doAdd, doAdd, get, getAppConstants, getApplicationContext, getWarnings, isEmpty, setApplicationContext, size
-
Constructor Details
-
ConfigurationWarnings
public ConfigurationWarnings()
-
-
Method Details
-
add
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
-
isSuppressed
-
add
public void add(@Nullable Object source, @NonNull org.apache.logging.log4j.Logger log, String message, @NonNull SuppressKeys suppressionKey, @Nullable Adapter adapter)
-