Package org.forgerock.openam.annotations
Annotation Interface Supported
@SupportedAll
@Retention(RUNTIME)
@Documented
@Target({PACKAGE,TYPE,ANNOTATION_TYPE,CONSTRUCTOR,METHOD,FIELD})
public @interface Supported
This annotation marks AM APIs that are considered stable and should not change in minor releases (except possibly
when a security fix requires such change). Backwards incompatible changes made to APIs marked with this annotation
should be highlighted in the release notes of major releases.
The scope of the annotation is limited to the component that is annotated.
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Setting this parameter to false for a Supported annotation allows this method to be excluded from the published java API.boolean
Setting this parameter to true for a SupportedElementType.METHOD
allows this method to be used by scripts when it'sElementType.TYPE
is provided as a binding and additional scripting features are enabled.
-
Element Details
-
scriptingApi
boolean scriptingApiSetting this parameter to true for a SupportedElementType.METHOD
allows this method to be used by scripts when it'sElementType.TYPE
is provided as a binding and additional scripting features are enabled.This parameter should be set at
ElementType.METHOD
level. It has no effect on otherTarget
s.- Returns:
- true this method is available to scripts when additional scripting features are enabled.
- Default:
- false
-
javaApi
boolean javaApiSetting this parameter to false for a Supported annotation allows this method to be excluded from the published java API.- Returns:
- true this class, type, method is included in the Java API.
- Default:
- true
-