Package io.micronaut.context.annotation
Annotation Interface Property
A property that can be contained within a
PropertySource or used generally throughout the system.- Since:
- 1.0
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameThe name of the property in kebab case. Example: my-app.bar.- Returns:
- The name of the property
-
-
-
value
String value- Returns:
- The value of the property
- Default:
- ""
-
defaultValue
@AliasFor(annotation=io.micronaut.core.bind.annotation.Bindable.class, member="defaultValue") String defaultValue- Returns:
- The default value if none is specified
- Default:
- ""
-