Annotation Type Plugin
-
@Documented @Retention(RUNTIME) @Target(TYPE) public @interface Plugin
Annotation that identifies a Class as a Plugin.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
deferChildren
String
elementType
Name of the corresponding category of elements this plugin belongs under.boolean
printObject
Indicates if the plugin class implements a usefulObject.toString()
method for use in log messages.
-
-
-
Field Detail
-
EMPTY
static final String EMPTY
Value of the elementType when none is specified.
-
-
Element Detail
-
name
String name
Name of the plugin. Note that this name is case-insensitive.
-
-
-
category
String category
Category to place the plugin under. Category names are case-sensitive.
-
-
-
elementType
String elementType
Name of the corresponding category of elements this plugin belongs under. For example,appender
would indicate anAppender
plugin which would be in the<Appenders/>
element of aConfiguration
.- Default:
- ""
-
-
-
printObject
boolean printObject
Indicates if the plugin class implements a usefulObject.toString()
method for use in log messages.- Default:
- false
-
-