Package io.confound

Interface Confounded


  • public interface Confounded
    Mixin interface to provide quick-and-easy configuration support to a class.

    A class implementing this interface can simply call the getConfiguration() method to retrieve the current configuration.

    Author:
    Garret Wilson
    • Method Detail

      • getConfiguration

        @Nonnull
        default io.confound.config.Configuration getConfiguration()
                                                           throws io.confound.config.ConfigurationException
        Retrieves the configured configuration.
        Returns:
        The current configuration.
        Throws:
        io.confound.config.ConfigurationException - if there is a configuration error.
        See Also:
        Confound.getConfiguration()