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
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanSetting this parameter to false for a Supported annotation allows this method to be excluded from the published java API.booleanSetting this parameter to true for a SupportedElementType.METHODallows this method to be used by scripts when it'sElementType.TYPEis provided as a binding and additional scripting features are enabled.
-
Element Details
-
scriptingApi
boolean scriptingApiSetting this parameter to true for a SupportedElementType.METHODallows this method to be used by scripts when it'sElementType.TYPEis provided as a binding and additional scripting features are enabled.This parameter should be set at
ElementType.METHODlevel. It has no effect on otherTargets.- 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
-