Annotation Interface TrackField


@Documented @Target({}) @Retention(RUNTIME) public @interface TrackField
This annotation can be used to specify details about field for change tracking.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The field name to track.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The condition to check.
    Specify the event on which to track.
  • Element Details

    • name

      String name
      The field name to track.
      Returns:
      the field name
    • condition

      String condition
      The condition to check.
      Returns:
      the condition
      Default:
      ""
    • on

      Specify the event on which to track.
      Returns:
      the event
      Default:
      DEFAULT