Package org.jeasy.props.annotations
Annotation Type EnvironmentVariable
-
@Retention(RUNTIME) @Target(FIELD) public @interface EnvironmentVariable
This annotation can be declared on a field in which an environment variable should be injected.- Author:
- Greg Schofield (gregs@indellient.com)
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description StringdefaultValueThe default value to set in case the environment variable does not exist or cannot be loaded.booleanfailFastFlag to fail the configuration process if the environment variable is absentintorderInjection order regarding other annotations.
-