Package com.blackbuild.klum.ast.layer3
Annotation Interface Notify
Can be used to mark fields to emit a notification if its value is manually set or not set.
This is most useful in combination with
AutoCreate
or LinkTo, to designate that the AutoCreate/AutoLink mechanism
is either an unwanted fallback (ifUnset), or the expected behavior (ifSet).
Notify can also be used to change the default behavior for deprecated fields.
The default level is WARNING, but this can be overridden bylevel().-
Optional Element Summary
Optional Elements
-
Element Details
-
ifSet
String ifSetThe message to be given for the generated issue if the field was manually set.- Default:
- ""
-
ifUnset
String ifUnsetThe message to be given for the generated issue if the field was not manually set.- Default:
- ""
-
level
Validate.Level levelThe level of the generated issue.- Default:
- WARNING
-