Annotation Type UpdateMethod


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface UpdateMethod
    Indicates that the method is an update handler method. An update method gets executed when a workflow receives an update after the validator is called.

    This annotation applies only to workflow interface methods.

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String name
      Name of the update handler.
    • Element Detail

      • name

        java.lang.String name
        Name of the update handler. Default is method name.

        Be careful about names that contain special characters. These names can be used as metric tags. And systems like prometheus ignore metrics which have tags with unsupported characters.

        Default:
        ""