Package | Description |
---|---|
org.apache.logging.log4j.core.config.plugins |
Annotations for Log4j 2 plugins.
|
org.apache.logging.log4j.core.config.plugins.visitors |
Visitor classes for extracting values from a Configuration or Node corresponding to a plugin annotation.
|
Modifier and Type | Method | Description |
---|---|---|
Class<? extends PluginVisitor<? extends Annotation>> |
value() |
The class to use that implements
PluginVisitor
for the given annotation. |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractPluginVisitor<A extends Annotation> |
Base class for PluginVisitor implementations.
|
class |
PluginAttributeVisitor |
PluginVisitor implementation for
PluginAttribute . |
class |
PluginBuilderAttributeVisitor |
PluginVisitor for PluginBuilderAttribute.
|
class |
PluginConfigurationVisitor |
PluginVisitor implementation for
PluginConfiguration . |
class |
PluginElementVisitor |
PluginVisitor implementation for
PluginElement . |
class |
PluginNodeVisitor |
PluginVisitor implementation for
PluginNode . |
class |
PluginValueVisitor |
PluginVisitor implementation for
PluginValue . |
Modifier and Type | Method | Description |
---|---|---|
static PluginVisitor<? extends Annotation> |
PluginVisitors.findVisitor(Class<? extends Annotation> annotation) |
Creates a PluginVisitor instance for the given annotation class using metadata provided by the annotation's
PluginVisitorStrategy annotation. |
PluginVisitor<A> |
AbstractPluginVisitor.setAliases(String... someAliases) |
|
PluginVisitor<A> |
PluginVisitor.setAliases(String... aliases) |
Sets the list of aliases to use for this visit.
|
PluginVisitor<A> |
AbstractPluginVisitor.setAnnotation(Annotation anAnnotation) |
|
PluginVisitor<A> |
PluginVisitor.setAnnotation(Annotation annotation) |
Sets the Annotation to be used for this.
|
PluginVisitor<A> |
AbstractPluginVisitor.setConversionType(Class<?> aConversionType) |
|
PluginVisitor<A> |
PluginVisitor.setConversionType(Class<?> conversionType) |
Sets the class to convert the plugin value to on this visit.
|
PluginVisitor<A> |
AbstractPluginVisitor.setMember(Member aMember) |
|
PluginVisitor<A> |
PluginVisitor.setMember(Member member) |
Sets the Member that this visitor is being used for injection upon.
|
PluginVisitor<A> |
AbstractPluginVisitor.setStrSubstitutor(StrSubstitutor aSubstitutor) |
|
PluginVisitor<A> |
PluginVisitor.setStrSubstitutor(StrSubstitutor substitutor) |
Sets the StrSubstitutor to use for converting raw strings before type conversion.
|
Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.