Package io.confound

Interface ConfigurationConcern

  • All Superinterfaces:
    io.csar.Concern
    All Known Implementing Classes:
    DefaultConfigurationConcern

    public interface ConfigurationConcern
    extends io.csar.Concern
    The concern for configuration.

    Once this concern is acquired, it provides access to a specific Configuration.

    Author:
    Garret Wilson
    See Also:
    Csar
    • Method Detail

      • getConcernType

        default java.lang.Class<ConfigurationConcern> getConcernType()
        Specified by:
        getConcernType in interface io.csar.Concern
      • getConfiguration

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