Package org.kohsuke.stapler.export
Annotation Type ExportedBean
-
@Retention(RUNTIME) @Documented @Inherited @Target(TYPE) @Indexed public @interface ExportedBean
Indicates that the class hasExported
annotations on its properties to indicate which properties are written as values to the remote XML/JSON API.This annotation inherits, so it only needs to be placed on the base class.
- Author:
- Kohsuke Kawaguchi
- See Also:
Exported
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description int
defaultVisibility
Controls the default visibility of allExported
properties of this class (and its descendants.)
-
-
-
Element Detail
-
defaultVisibility
int defaultVisibility
Controls the default visibility of allExported
properties of this class (and its descendants.)A big default visibility value usually indicates that the bean is always exposed as a descendant of another bean. In such case, unless the default visibility is set no property will be exposed.
- Default:
- 1
-
-