|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Target(value=METHOD) @Retention(value=RUNTIME) public @interface BoundProperty
Mark an interface method with this annotation to indicate that it should return the value associated with a given key from a property source, converted to the type indicated by the method's return type.
DefaultsTo
,
ValuesSeparatedBy
,
ParsedAs
Required Element Summary | |
---|---|
String |
value
The property source key to associate with the marked method. |
Optional Element Summary | |
---|---|
boolean |
suppressSubstitution
Tells whether substitution should be suppressed when resolving this property. |
Element Detail |
---|
public abstract String value
public abstract boolean suppressSubstitution
Tells whether substitution should be suppressed when resolving this property.
This would be useful if, for example, you expect the value of your property to be a regex.
true
if substitution should be suppressed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |