Class PluginNodeVisitor
java.lang.Object
org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor<PluginNode>
org.apache.logging.log4j.core.config.plugins.visitors.PluginNodeVisitor
- All Implemented Interfaces:
PluginVisitor<PluginNode>
PluginVisitor implementation for
PluginNode
.-
Field Summary
Fields inherited from class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
aliases, annotation, clazz, conversionType, LOGGER, member, substitutor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvisit
(Configuration configuration, Node node, LogEvent event, StringBuilder log) Visits a Node to obtain a value for constructing a Plugin object.Methods inherited from class org.apache.logging.log4j.core.config.plugins.visitors.AbstractPluginVisitor
convert, removeAttributeValue, setAliases, setAnnotation, setConversionType, setMember, setStrSubstitutor
-
Constructor Details
-
PluginNodeVisitor
public PluginNodeVisitor()
-
-
Method Details
-
visit
Description copied from interface:PluginVisitor
Visits a Node to obtain a value for constructing a Plugin object.- Parameters:
configuration
- the current Configuration.node
- the current Node corresponding to the Plugin object being created.event
- the current LogEvent that caused this Plugin object to be made (optional).log
- the StringBuilder being used to build a debug message.- Returns:
- the converted value to be used for Plugin creation.
-