Package io.micronaut.context.annotation
Enum Class BeanProperties.Visibility
- All Implemented Interfaces:
Serializable
,Comparable<BeanProperties.Visibility>
,Constable
- Enclosing class:
- BeanProperties
Visibility policy for bean properties and fields.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAll methods and/or fields are included.The default behaviour which in addition to public getters and setters will also include package protected fields if anBeanProperties.AccessKind
ofBeanProperties.AccessKind.FIELD
is specified.Only public methods and/or fields are included. -
Method Summary
Modifier and TypeMethodDescriptionstatic BeanProperties.Visibility
Returns the enum constant of this class with the specified name.static BeanProperties.Visibility[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PUBLIC
Only public methods and/or fields are included. -
DEFAULT
The default behaviour which in addition to public getters and setters will also include package protected fields if anBeanProperties.AccessKind
ofBeanProperties.AccessKind.FIELD
is specified. -
ANY
All methods and/or fields are included.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-