|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value={PARAMETER,FIELD})
@Retention(value=RUNTIME)
@Inherited
public @interface ConfigurationThis annotation is picked up by Constretto, and applies to fields that are declared as private, public or default, including those inherited from superclasses.
| Optional Element Summary | |
|---|---|
java.lang.String |
defaultValue
States the default value to be injected if no value found associated for the expression specified in the expression attribute. |
java.lang.Class<? extends ConfigurationDefaultValueFactory<?>> |
defaultValueFactory
Use when more complex default values needs to be injected of no value found associated with the expression specified in the expression attribute |
java.lang.String |
description
A description of the usage of the property. |
java.lang.String |
expression
The expression of the property to lookup in constretto. |
boolean |
required
Declares whether it is required to find the specified property key. |
public abstract java.lang.String expression
public abstract java.lang.String description
public abstract java.lang.String defaultValue
public abstract java.lang.Class<? extends ConfigurationDefaultValueFactory<?>> defaultValueFactory
public abstract boolean required
true.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||