Package com.axelor.db.annotations
Annotation Interface TrackMessage
This annotation can be used to specify custom change tracking messages.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
message
String messageThe track message to generate if the given condition is true.- Returns:
- the message
-
condition
String conditionThe condition to check.- Returns:
- the condition
-
on
TrackEvent onSpecify the event on which to use this message.- Returns:
- the event
- Default:
DEFAULT
-
tag
String tagProvide tag style if this message is a tag.- success
- warning
- important
- info
- Returns:
- the tag style name
- Default:
""
-
fields
String[] fieldsOnly use the message if these fields are changed.- Returns:
- the field names
- Default:
{""}
-