Interface ConfigurationProvider

    • Method Detail

      • getConfigurationParameter

        java.lang.Object getConfigurationParameter​(java.lang.String id)
        retrieve a (mandatory) parameter or throw exception, also see getConfigurationParameterOrNull(String)
        Parameters:
        id -
        Returns:
        configuration parameter instance
      • getConfigurationParameter

        <T> T getConfigurationParameter​(java.lang.String id,
                                        T defaultValue)
        getter for configuration parameter including downcast
        Parameters:
        id -
        defaultValue -
        Returns:
        configuration parameter instance or defaultValue
        Throws:
        java.lang.ClassCastException - if configurationParameter is not of provided type
      • getConfigurationParameterOrNull

        java.lang.Object getConfigurationParameterOrNull​(java.lang.String id)
        retrieve parameter
        Parameters:
        id -
        Returns:
        configuration parameter instance or NULL