Uses of Class
org.apache.logging.log4j.core.config.Node
Packages that use Node
Package
Description
Log4j 2 Appenders.
Apache Flume Appender.
Configuration of Log4j 2.
Configuration Builder Implementation.
Support for composite configurations.
Classes and interfaces supporting configuration of Log4j 2 with JSON.
Utility and manager classes for Log4j 2 plugins.
Visitor classes for extracting values from a Configuration or Node corresponding to a plugin annotation.
Classes and interfaces supporting configuration of Log4j 2 with XML.
-
Uses of Node in org.apache.logging.log4j.core.appender
Fields in org.apache.logging.log4j.core.appender declared as NodeFields in org.apache.logging.log4j.core.appender with type parameters of type NodeMethods in org.apache.logging.log4j.core.appender that return NodeMethods in org.apache.logging.log4j.core.appender with parameters of type NodeConstructor parameters in org.apache.logging.log4j.core.appender with type arguments of type NodeModifierConstructorDescriptionprivate
AppenderSet
(Configuration configuration, Map<String, Node> appenders) -
Uses of Node in org.apache.logging.log4j.core.appender.routing
Fields in org.apache.logging.log4j.core.appender.routing declared as NodeMethods in org.apache.logging.log4j.core.appender.routing that return NodeMethods in org.apache.logging.log4j.core.appender.routing with parameters of type NodeModifier and TypeMethodDescriptionstatic Route
Route.createRoute
(String appenderRef, String key, Node node) Create the Route.Constructors in org.apache.logging.log4j.core.appender.routing with parameters of type Node -
Uses of Node in org.apache.logging.log4j.core.config
Fields in org.apache.logging.log4j.core.config declared as NodeModifier and TypeFieldDescriptionprivate Node
AbstractConfiguration.advertiserNode
private Node
Node.parent
protected Node
AbstractConfiguration.rootNode
The root node of the configuration.Fields in org.apache.logging.log4j.core.config with type parameters of type NodeMethods in org.apache.logging.log4j.core.config that return NodeMethods in org.apache.logging.log4j.core.config that return types with arguments of type NodeModifier and TypeMethodDescriptionNode.getChildren()
AbstractConfiguration.processSelect
(Node selectNode, PluginType<?> type) Handle Select nodes.Methods in org.apache.logging.log4j.core.config with parameters of type NodeModifier and TypeMethodDescriptionvoid
AbstractConfiguration.createConfiguration
(Node node, LogEvent event) void
Configuration.createConfiguration
(Node node, LogEvent event) private static Collection
<?> AbstractConfiguration.createPluginCollection
(Node node) AbstractConfiguration.createPluginMap
(Node node) AbstractConfiguration.createPluginObject
(PluginType<?> type, Node node) This method is used by Arbiters to create specific children.private Object
AbstractConfiguration.createPluginObject
(PluginType<?> type, Node node, LogEvent event) Invokes a static factory method to either create the desired object or to create a builder object that creates the desired object.protected void
AbstractConfiguration.preConfigure
(Node node) protected void
AbstractConfiguration.processConditionals
(Node node) Process conditions by evaluating them and including the children of conditions that are true and discarding those that are not.AbstractConfiguration.processSelect
(Node selectNode, PluginType<?> type) Handle Select nodes.void
Constructors in org.apache.logging.log4j.core.config with parameters of type Node -
Uses of Node in org.apache.logging.log4j.core.config.arbiters
Fields in org.apache.logging.log4j.core.config.arbiters declared as NodeMethods in org.apache.logging.log4j.core.config.arbiters with parameters of type Node -
Uses of Node in org.apache.logging.log4j.core.config.builder.impl
Methods in org.apache.logging.log4j.core.config.builder.impl that return NodeModifier and TypeMethodDescriptionprotected Node
BuiltConfiguration.convertToNode
(Node parent, Component component) Methods in org.apache.logging.log4j.core.config.builder.impl with parameters of type NodeModifier and TypeMethodDescriptionprotected Node
BuiltConfiguration.convertToNode
(Node parent, Component component) -
Uses of Node in org.apache.logging.log4j.core.config.composite
Methods in org.apache.logging.log4j.core.config.composite that return NodeModifier and TypeMethodDescriptionprivate Node
DefaultMergeStrategy.getLoggerNode
(Node parentNode, String name) Methods in org.apache.logging.log4j.core.config.composite with parameters of type NodeModifier and TypeMethodDescriptionprivate Node
DefaultMergeStrategy.getLoggerNode
(Node parentNode, String name) private boolean
DefaultMergeStrategy.isFilterNode
(Node node) private boolean
DefaultMergeStrategy.isSameName
(Node node1, Node node2) private boolean
DefaultMergeStrategy.isSameReference
(Node node1, Node node2) void
DefaultMergeStrategy.mergConfigurations
(Node target, Node source, PluginManager pluginManager) Merge the source Configuration into the target Configuration.void
MergeStrategy.mergConfigurations
(Node target, Node source, PluginManager pluginManager) Merge the soure node tree into the target node tree.void
DefaultMergeStrategy.mergeRootProperties
(Node rootNode, AbstractConfiguration configuration) Merge the root properties.void
MergeStrategy.mergeRootProperties
(Node rootNode, AbstractConfiguration configuration) Merge the root node properties into the configuration.private void
CompositeConfiguration.printNodes
(String indent, Node node, StringBuilder sb) private void
DefaultMergeStrategy.updateFilterNode
(Node target, Node targetChildNode, Node sourceChildNode, PluginManager pluginManager) -
Uses of Node in org.apache.logging.log4j.core.config.json
Methods in org.apache.logging.log4j.core.config.json that return NodeModifier and TypeMethodDescriptionprivate Node
JsonConfiguration.constructNode
(String name, Node parent, com.fasterxml.jackson.databind.JsonNode jsonNode) Methods in org.apache.logging.log4j.core.config.json with parameters of type NodeModifier and TypeMethodDescriptionprivate Node
JsonConfiguration.constructNode
(String name, Node parent, com.fasterxml.jackson.databind.JsonNode jsonNode) private void
JsonConfiguration.processAttributes
(Node parent, com.fasterxml.jackson.databind.JsonNode node) -
Uses of Node in org.apache.logging.log4j.core.config.plugins.util
Fields in org.apache.logging.log4j.core.config.plugins.util declared as NodeMethods in org.apache.logging.log4j.core.config.plugins.util with parameters of type NodeModifier and TypeMethodDescriptionPluginBuilder.withConfigurationNode
(Node node) Specifies the Node corresponding to the plugin object that will be created. -
Uses of Node in org.apache.logging.log4j.core.config.plugins.visitors
Methods in org.apache.logging.log4j.core.config.plugins.visitors that return NodeModifier and TypeMethodDescriptionprivate Node
PluginElementVisitor.findNamedNode
(String name, Iterable<Node> children) Methods in org.apache.logging.log4j.core.config.plugins.visitors with parameters of type NodeModifier and TypeMethodDescriptionPluginAttributeVisitor.visit
(Configuration configuration, Node node, LogEvent event, StringBuilder log) PluginBuilderAttributeVisitor.visit
(Configuration configuration, Node node, LogEvent event, StringBuilder log) PluginConfigurationVisitor.visit
(Configuration configuration, Node node, LogEvent event, StringBuilder log) PluginElementVisitor.visit
(Configuration configuration, Node node, LogEvent event, StringBuilder log) PluginNodeVisitor.visit
(Configuration configuration, Node node, LogEvent event, StringBuilder log) PluginValueVisitor.visit
(Configuration configuration, Node node, LogEvent event, StringBuilder log) PluginVisitor.visit
(Configuration configuration, Node node, LogEvent event, StringBuilder log) Visits a Node to obtain a value for constructing a Plugin object.Method parameters in org.apache.logging.log4j.core.config.plugins.visitors with type arguments of type NodeModifier and TypeMethodDescriptionprivate Node
PluginElementVisitor.findNamedNode
(String name, Iterable<Node> children) -
Uses of Node in org.apache.logging.log4j.core.config.xml
Methods in org.apache.logging.log4j.core.config.xml with parameters of type NodeModifier and TypeMethodDescriptionprivate void
XmlConfiguration.constructHierarchy
(Node node, Element element) XmlConfiguration.processAttributes
(Node node, Element element)