Package co.elastic.clients.util
Annotation Type AllowForbiddenApis
@Retention(CLASS)
@Target({CONSTRUCTOR,FIELD,METHOD,TYPE})
public @interface AllowForbiddenApis
Annotation to allow usage of forbidden APIs inside a whole class, a method, or a field.
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
value
The reason for allowing forbidden APIs
-
Element Details
-
value
java.lang.String valueThe reason for allowing forbidden APIs
-