|
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 YarnEnvironment
Annotation which indicates that a method parameter should be bound to an environment variable.
| Optional Element Summary | |
|---|---|
boolean |
required
Whether the environment variable 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 environment variable is
missing. Switch this to false if you prefer a null in
case of the environment variable missing.
|
Spring for Apache Hadoop | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||