Annotation Type CallOnUpdate


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface CallOnUpdate
    An annotation to mark that a method should be called when the bound model updates in a specific way. The method can have any access modifiers, i.e. it can be private.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String model
      The model field name to bind to.
      java.lang.String[] on
      What model update type to trigger on, or blank (default) for all updates.
    • Element Detail

      • model

        java.lang.String model
        The model field name to bind to. If this is left blank and the BindingContext has only a single BindableModel then it will bind to that.
        Default:
        ""
      • on

        java.lang.String[] on
        What model update type to trigger on, or blank (default) for all updates.
        Default:
        {""}