Package com.axelor.db.annotations
Annotation Type TrackMessage
-
@Documented @Target({}) @Retention(RUNTIME) public @interface TrackMessage
This annotation can be used to specify custom change tracking messages.
-
-
Element Detail
-
message
String message
The track message to generate if the given condition is true.- Returns:
- the message
-
-
-
condition
String condition
The condition to check.- Returns:
- the condition
-
-
-
on
TrackEvent on
Specify the event on which to use this message.- Returns:
- the event
- Default:
- com.axelor.db.annotations.TrackEvent.DEFAULT
-
-
-
tag
String tag
Provide tag style if this message is a tag.- success
- warning
- important
- info
- Returns:
- the tag style name
- Default:
- ""
-
-
-
fields
String[] fields
Only use the message if these fields are changed.- Returns:
- the field names
- Default:
- {""}
-
-