@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Plugin
Modifier and Type | Fields and Description |
---|---|
static java.lang.String |
EMPTY
Value of the elementType when none is specified.
|
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
category
Category to place the plugin under.
|
java.lang.String |
name
Name of the plugin.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
deferChildren |
java.lang.String |
elementType
Name of the corresponding category of elements this plugin belongs under.
|
boolean |
printObject
Indicates if the plugin class implements a useful
Object.toString() method for use in log messages. |
public static final java.lang.String EMPTY
public abstract java.lang.String name
public abstract java.lang.String category
public abstract java.lang.String elementType
appender
would
indicate an Appender
plugin which would be in the
<Appenders/>
element of a Configuration
.