Annotation Type ApiMethod


@Documented
@Target(METHOD)
@Retention(RUNTIME)
public @interface ApiMethod
  • Optional Element Summary

    Optional Elements
    Modifier and Type Optional Element Description
    boolean instanceRequired
    If provided and true, this method can only be invoked on a service with an identifier
    String value
    If provided, this is the name of the method.
  • Element Details

    • value

      String value
      If provided, this is the name of the method. Otherwise it is the name of the method it is on.
      Default:
      ""
    • instanceRequired

      boolean instanceRequired
      If provided and true, this method can only be invoked on a service with an identifier
      Default:
      false