Annotation Interface Workflow


@Target({METHOD,TYPE}) @Retention(RUNTIME) @Documented public @interface Workflow
Annotation to define a class/interface as Restate Workflow. This triggers the code generation of the related Client class and the ServiceDefinitionFactory. When defining a class/interface as workflow, you must annotate one of its methods too as Workflow.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Name of the Workflow for Restate.
  • Element Details

    • name

      String name
      Name of the Workflow for Restate. If not provided, it will be the simple class name of the annotated element.
      Default:
      ""