|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value=PARAMETER) @Retention(value=RUNTIME) @Documented public @interface YarnParameter
Annotation which indicates that a method parameter should be bound to a parameter.
| Optional Element Summary | |
|---|---|
boolean |
required
Whether the parameter is required. |
String |
value
The name of the parameter to bind to. |
public abstract String value
public abstract boolean required
Default is true, leading to an exception if the parameter is
missing. Switch this to false if you prefer a null in
case of the parameter missing.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||