@Documented @Retention(RUNTIME) @Target({PARAMETER,FIELD}) @PluginVisitorStrategy(PluginAttributeVisitor.class) public @interface PluginAttribute
Enum.valueOf
.Modifier and Type | Required Element | Description |
---|---|---|
String |
value |
Specifies the name of the attribute (case-insensitive) this annotation corresponds to.
|
Modifier and Type | Optional Element | Description |
---|---|---|
boolean |
defaultBoolean |
Specifies the default boolean value to use.
|
byte |
defaultByte |
Specifies the default byte value to use.
|
char |
defaultChar |
Specifies the default byte value to use.
|
Class<?> |
defaultClass |
Specifies the default
Class value to use. |
double |
defaultDouble |
Specifies the default double floating point value to use.
|
float |
defaultFloat |
Specifies the default floating point value to use.
|
int |
defaultInt |
Specifies the default integer value to use.
|
long |
defaultLong |
Specifies the default long value to use.
|
short |
defaultShort |
Specifies the default long value to use.
|
String |
defaultString |
Specifies the default value this attribute should use if none is provided or if the provided value is invalid.
|
boolean |
sensitive |
Indicates that this attribute is a sensitive one that shouldn't be logged directly.
|
String value
double defaultDouble
String defaultString
Copyright © 1999-2018. 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.