Annotation Type DeprecatedAPI


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface DeprecatedAPI
    An annotation that could be used on Methods to enable logging about usage of deprecated API or REST endpoints. This logging will be enabled only on DEVELOPMENT MODE!
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean insist  
    • Element Detail

      • value

        String value
        Returns:
        Message to log in console
      • insist

        boolean insist
        Returns:
        true if logging should be made each time the method is used, else logged once during the runtime
        Default:
        false