Class RunnerConfiguration

  • Direct Known Subclasses:
    RunnerConfigurationImpl

    public abstract class RunnerConfiguration
    extends Object
    Object supplying configuration parameters to a datamodel instance.
    • Field Detail

      • logger

        protected final org.slf4j.Logger logger
    • Constructor Detail

      • RunnerConfiguration

        public RunnerConfiguration()
    • Method Detail

      • getParameter

        public abstract String getParameter​(String key,
                                            String defaultValue)
        Retrieves a configuration parameter as a string.
        Parameters:
        key - the key of the configuration parameter
        defaultValue - the default value to return if the configuration parameter was not supplied
      • getIntParameter

        public int getIntParameter​(String key,
                                   int defaultValue)
        Retrieves a configuration parameter as an integer.
        Parameters:
        key - the key of the configuration parameter
        defaultValue - the default value to return if the configuration parameter was not supplied
      • getLongParameter

        public long getLongParameter​(String key,
                                     long defaultValue)
        Retrieves a configuration parameter as a long.
        Parameters:
        key - the key of the configuration parameter
        defaultValue - the default value to return if the configuration parameter was not supplied