Annotation Type PluginAttribute
-
@Documented @Retention(RUNTIME) @Target({PARAMETER,FIELD}) @PluginVisitorStrategy(PluginAttributeVisitor.class) public @interface PluginAttribute
Identifies a Plugin Attribute and its default value. Note that only one of the defaultFoo attributes will be used based on the type this annotation is attached to. Thus, for primitive types, the defaultType attribute will be used for some Type. However, for more complex types (including enums), the default string value is used instead and should correspond to the string that would correctly convert to the appropriate enum value usingEnum.valueOf.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleandefaultBooleanSpecifies the default boolean value to use.bytedefaultByteSpecifies the default byte value to use.chardefaultCharSpecifies the default byte value to use.Class<?>defaultClassSpecifies the defaultClassvalue to use.doubledefaultDoubleSpecifies the default double floating point value to use.floatdefaultFloatSpecifies the default floating point value to use.intdefaultIntSpecifies the default integer value to use.longdefaultLongSpecifies the default long value to use.shortdefaultShortSpecifies the default long value to use.StringdefaultStringSpecifies the default value this attribute should use if none is provided or if the provided value is invalid.booleansensitiveIndicates that this attribute is a sensitive one that shouldn't be logged directly.
-