Class ConfigurationLogs

java.lang.Object
io.camunda.migrator.impl.logging.ConfigurationLogs

public class ConfigurationLogs extends Object
Centralized logging utility for Configuration class. Contains all log messages and string constants used in configuration.
  • Field Details

  • Constructor Details

    • ConfigurationLogs

      public ConfigurationLogs()
  • Method Details

    • logConfiguringInterceptors

      public static void logConfiguringInterceptors()
      Logs the start of interceptor configuration process.
    • logTotalInterceptorsConfigured

      public static void logTotalInterceptorsConfigured(int count)
      Logs the total number of configured interceptors.
      Parameters:
      count - the number of configured interceptors
    • logNoInterceptorsConfigured

      public static void logNoInterceptorsConfigured()
      Logs when no interceptors are configured in config file.
    • logSuccessfullyRegistered

      public static void logSuccessfullyRegistered(String className)
      Logs successful registration of an interceptor.
      Parameters:
      className - the class name of the registered interceptor
    • logFailedToRegister

      public static void logFailedToRegister(String className, Exception exception)
      Logs failure to register an interceptor.
      Parameters:
      className - the class name of the failed interceptor
      exception - the exception that occurred
    • logCreatingInstance

      public static void logCreatingInstance(String className)
      Logs the creation of an interceptor instance.
      Parameters:
      className - the class name of the interceptor being created
    • logSettingProperties

      public static void logSettingProperties(String className)
      Logs when setting properties for an interceptor.
      Parameters:
      className - the class name of the interceptor
    • logInterceptorDisabled

      public static void logInterceptorDisabled(String className)
      Logs when any interceptor is disabled via configuration.
      Parameters:
      className - the class name of the disabled interceptor
    • logInterceptorAlreadyLoaded

      public static void logInterceptorAlreadyLoaded(String className)
      Logs when an interceptor is already loaded and doesn't need to be created again.
      Parameters:
      className - the class name of the interceptor already loaded
    • logInterceptorNotFoundForDisabling

      public static void logInterceptorNotFoundForDisabling(String className)
      Logs when an interceptor specified for disabling was not found in the context.
      Parameters:
      className - the class name of the interceptor not found
    • logCreatingTableSchema

      public static void logCreatingTableSchema(String changeLogFile, String tablePrefix)
      Logs when creating table schema properties for an interceptor.
      Parameters:
      changeLogFile - the changeLog file used for Liquibase
      tablePrefix - the prefix for the tables
    • getClassNameNullOrEmptyError

      public static String getClassNameNullOrEmptyError()
      Gets the error message for null or empty class name.
      Returns:
      the error message
    • getClassNotImplementInterfaceError

      public static String getClassNotImplementInterfaceError(String className)
      Gets the error message for class not implementing interface.
      Parameters:
      className - the class name
      Returns:
      the formatted error message
    • getFailedToRegisterError

      public static String getFailedToRegisterError(String className)
      Gets the error message for failed registration.
      Parameters:
      className - the class name
      Returns:
      the formatted error message
    • getParsingConfigurationError

      public static String getParsingConfigurationError()
      Gets the error message for parsing configuration.
      Returns:
      the error message