@Documented
@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface Configuration
value() of the annotation via the set com.netflix.governator.configurationConfigurationProvider.| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
value |
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
documentation |
boolean |
ignoreTypeMismatch
If the value of the property defined for this config is not the same or can not be converted to the
required type, setting this to
true will ignore such a value. |
public abstract java.lang.String value
public abstract java.lang.String documentation
public abstract boolean ignoreTypeMismatch
true will ignore such a value. In such a case, the target field
will contain the default value if defined.IllegalArgumentExceptiontrue if type mismatch must be ignored. false otherwise. Default value is
false