Plugin interface which contains the application properties used for wiring. Used with
RequiresProperty
and Profile
.
The plugin is loaded via ServiceLoader and defaults to an implementation that uses System.getProperty(String)
and System.getenv(String)
.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if the property is defined.boolean
Return true if the property is equal to the given value.Return a configuration value that might not exist.default boolean
Return true if the property is not defined.default boolean
notEqualTo
(String property, String value) Return true if the property is not defined or not equal to the given value.
-
Method Details
-
get
Return a configuration value that might not exist. -
contains
Return true if the property is defined. -
missing
Return true if the property is not defined. -
equalTo
Return true if the property is equal to the given value. -
notEqualTo
Return true if the property is not defined or not equal to the given value.
-