Class PluginProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor
-
- All Implemented Interfaces:
javax.annotation.processing.Processor
@SupportedAnnotationTypes("org.apache.logging.log4j.core.config.plugins.*") public class PluginProcessor extends javax.annotation.processing.AbstractProcessorAnnotation processor for pre-scanning Log4j 2 plugins.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPLUGIN_CACHE_FILEThe location of the plugin cache data file.
-
Constructor Summary
Constructors Constructor Description PluginProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.lang.model.SourceVersiongetSupportedSourceVersion()booleanprocess(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
-
-
-
Field Detail
-
PLUGIN_CACHE_FILE
public static final java.lang.String PLUGIN_CACHE_FILE
The location of the plugin cache data file. This file is written to by this processor, and read from byPluginManager.- See Also:
- Constant Field Values
-
-
Method Detail
-
getSupportedSourceVersion
public javax.lang.model.SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersionin interfacejavax.annotation.processing.Processor- Overrides:
getSupportedSourceVersionin classjavax.annotation.processing.AbstractProcessor
-
process
public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)- Specified by:
processin interfacejavax.annotation.processing.Processor- Specified by:
processin classjavax.annotation.processing.AbstractProcessor
-
-