Class DeprecationReporter

java.lang.Object
org.apache.rat.DeprecationReporter

public final class DeprecationReporter extends Object
Reporting methods for deprecated objects.
  • Method Details

    • getLogReporter

      public static Consumer<org.apache.commons.cli.Option> getLogReporter()
      Creates the consumer that will log usage of deprecated operations to the default log.
      Returns:
      The consumer that will log usage of deprecated operations to the default log.
    • logDeprecated

      public static void logDeprecated(Class<?> clazz)
      Log Deprecated class use.
      Parameters:
      clazz - the Deprecated class to log