Package io.temporal.workflow
Annotation Type UpdateMethod
-
@Retention(RUNTIME) @Target(METHOD) public @interface UpdateMethodIndicates 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.StringdescriptionShort description of the update handler.java.lang.StringnameName of the update handler.HandlerUnfinishedPolicyunfinishedPolicySets the actions taken if a workflow exits with a running instance of this handler.
-
-
-
-
unfinishedPolicy
HandlerUnfinishedPolicy unfinishedPolicy
Sets the actions taken if a workflow exits with a running instance of this handler.- Default:
- io.temporal.workflow.HandlerUnfinishedPolicy.WARN_AND_ABANDON
-
-