Annotation Interface RPCValidation


@Documented @Target(TYPE) @Retention(RUNTIME) public @interface RPCValidation
An annotation used in combination with the annotation processor to validate that an api class can be used to remotely execute methods. It validates that a class does not break the contract defined in the RPC class.
Since:
4.0
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Get if static methods in the class should get validated as well.
    Get a regular expression of the methods names to skip while validating the class.
  • Element Details

    • value

      String value
      Get a regular expression of the methods names to skip while validating the class. Defaults to an empty indicating that no methods should get skipped during validation.
      Returns:
      a regular expression of the methods names to skip while validating the class.
      Default:
      ""
    • includeStatic

      boolean includeStatic
      Get if static methods in the class should get validated as well. Defaults to false.
      Returns:
      if static methods in the class should get validated as well.
      Default:
      false