- All Superinterfaces:
InjectExtension
- All Known Subinterfaces:
ConfigPropertyPlugin
@NullMarked
@Deprecated(forRemoval=true)
public interface PropertyRequiresPlugin
extends InjectExtension
Deprecated, for removal: This API element is subject to removal in a future version.
use ConfigPropertyPlugin Instead
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 TypeMethodDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.Return true if the property is defined.booleanDeprecated, for removal: This API element is subject to removal in a future version.Return true if the property is equal to the given value.Deprecated, for removal: This API element is subject to removal in a future version.Return a configuration value that might not exist.default booleanDeprecated, for removal: This API element is subject to removal in a future version.Return true if the property is not defined.default booleannotEqualTo(String property, String value) Deprecated, for removal: This API element is subject to removal in a future version.Return true if the property is not defined or not equal to the given value.
-
Method Details
-
get
Deprecated, for removal: This API element is subject to removal in a future version.Return a configuration value that might not exist. -
contains
Deprecated, for removal: This API element is subject to removal in a future version.Return true if the property is defined. -
missing
Deprecated, for removal: This API element is subject to removal in a future version.Return true if the property is not defined. -
equalTo
Deprecated, for removal: This API element is subject to removal in a future version.Return true if the property is equal to the given value. -
notEqualTo
Deprecated, for removal: This API element is subject to removal in a future version.Return true if the property is not defined or not equal to the given value.
-