Class ConfigSourceUtil


  • public class ConfigSourceUtil
    extends Object
    utilities and constants for ConfigSource implementations
    Author:
    helloween
    • Method Detail

      • getOrdinalFromMap

        public static int getOrdinalFromMap​(Map<String,​String> map,
                                            int defaultOrdinal)
        Get the ordinal value configured within the given map.
        Parameters:
        map - the map to query
        defaultOrdinal - the ordinal to return if the ordinal key is not specified
        Returns:
        the ordinal value to use