@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface Plugin
Modifier and Type | Fields and Description |
---|---|
static String |
EMPTY
Value of the elementType when none is specified.
|
Modifier and Type | Required Element and Description |
---|---|
String |
category
Category to place the plugin under.
|
String |
name
Name of the plugin.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
deferChildren |
String |
elementType
Name of the corresponding category of elements this plugin belongs under.
|
boolean |
printObject |
public abstract String elementType
appender
would
indicate an Appender
plugin which would be in the
<Appenders/>
element of a Configuration
.public abstract boolean printObject
public abstract boolean deferChildren
Copyright © 1999-2021 Apache Software Foundation. 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.