Annotation Interface TaktWorkerMethod


@Retention(RUNTIME) @Target(METHOD) public @interface TaktWorkerMethod
Annotation to mark a method as a TaktX worker method with a specified task ID and auto-completion option.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The task ID associated with the worker method.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether the task should be auto-completed after execution.
  • Element Details

    • taskId

      String taskId
      The task ID associated with the worker method.
      Returns:
      The task ID associated with the worker method.
    • autoComplete

      boolean autoComplete
      Whether the task should be auto-completed after execution. Default is true.
      Returns:
      True if the task should be auto-completed, false otherwise.
      Default:
      true