Annotation Type QueryMethod


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface QueryMethod
    Indicates that the method is a query method. Query method can be used to query a workflow state by external process at any time during its execution. 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 query type.
    • Element Detail

      • name

        java.lang.String name
        Name of the query type. Default is {short class name}::{method name}
        Default:
        ""