|
Spring for Apache Hadoop | ||||||||
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. |
java.lang.String |
value
The name of the parameter to bind to. |
public abstract java.lang.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.
|
Spring for Apache Hadoop | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |