@Plugin(name="Route", category="Core", printObject=true, deferChildren=true) public final class Route extends Object
Modifier and Type | Method and Description |
---|---|
static Route |
createRoute(String appenderRef,
String key,
Node node)
Create the Route.
|
String |
getAppenderRef()
Returns the appender reference.
|
String |
getKey()
Returns the key for this Route.
|
Node |
getNode()
Returns the Dynamic Appender Node.
|
String |
toString() |
public Node getNode()
public String getAppenderRef()
public String getKey()
@PluginFactory public static Route createRoute(@PluginAttribute(value="ref") String appenderRef, @PluginAttribute(value="key") String key, @PluginNode Node node)
appenderRef
- The Appender reference.key
- The key.node
- The Node.Copyright © 1999-2017. 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.