Interface ConfigPropertyPlugin

All Superinterfaces:
InjectExtension, PropertyRequiresPlugin

@NullMarked public interface ConfigPropertyPlugin extends InjectExtension, PropertyRequiresPlugin
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 Type
    Method
    Description
    boolean
    contains(String property)
    Return true if the property is defined.
    boolean
    equalTo(String property, String value)
    Return true if the property is equal to the given value.
    get(String property)
    Return a configuration value that might not exist.
    default boolean
    missing(String property)
    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.