Package ch.kk7.confij.annotation
Annotation Type Default
@Retention(RUNTIME)
@Target(METHOD)
public @interface Default
Defines the default value for a configuration item (leaf).
Default values are loaded first and can be overridden by any other configuration source
(so they have lowest preference).
interface Fuu {
\@Default("42") int theAnswer();
}
- See Also:
DefaultSource
-
Element Details
-
value
java.lang.String value
-
-
-
isNull
boolean isNull- Returns:
- true if the
value()is actually null
- Default:
- false
-