Annotation Interface ProvideResult


@Target(METHOD) @Retention(RUNTIME) public @interface ProvideResult
This annotation is used to mark a method that returns a result that should be persisted. The value of the annotation is the key to use for the stored result. If the value is not set, the method name will be used as the key.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The key to use for the stored result if the value is not set, the method name will be used as the key.
  • Element Details

    • value

      String value
      The key to use for the stored result if the value is not set, the method name will be used as the key.
      Returns:
      The key to use for the stored result.
      Default:
      ""