public interface PropertyRequiresPlugin
Plugin interface used with
RequiresProperty.
The plugin is loaded via ServiceLoader and defaults to an implementation
that uses System.getProperty(String) and System.getenv(String).
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if the property is defined.booleanReturn true if the property is equal to the given value.Return a configuration value that might not exist.booleanReturn true if the property is not defined.booleannotEqualTo(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.
-