org.kohsuke.stapler.export
Annotation Type ExportedBean


@Retention(value=RUNTIME)
@Documented
@Inherited
@Target(value=TYPE)
public @interface ExportedBean

Indicates that the class has Exported 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
 int defaultVisibility
          Controls the default visibility of all Exported properties of this class (and its descendants.)
 

defaultVisibility

public abstract int defaultVisibility
Controls the default visibility of all Exported 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


Copyright © 2011. All Rights Reserved.