@SuppressWarnings("unchecked")
    public List<String> getModuleParamList(String moduleName, String paramName) {
        Map<String, Object> moduleParams = getModuleParams(moduleName);
        if (moduleParams == null || !moduleParams.containsKey(paramName)) {
            return null;
        }
        Object paramValue = moduleParams.get(paramName);
        if (!(paramValue instanceof List)) {
            throw new IllegalArgumentException("Parameter '" + paramName + "' must be a list: " + paramValue);
        }
        return (List<String>)paramValue;
    }
@ SuppressWarnings ( "unchecked" ) public List < String > getModuleParamList ( String moduleName , String paramName ) { Map < String , Object > moduleParams = getModuleParams ( moduleName ) ; if ( moduleParams == null || ! moduleParams . containsKey ( paramName ) ) { return null ; } Object paramValue = moduleParams . get ( paramName ) ; if ( ! ( paramValue instanceof List ) ) { throw new IllegalArgumentException ( "Parameter '" + paramName + "' must be a list: " + paramValue ) ; } return ( List < String > ) paramValue ; }
Get the value of the given parameter name belonging to the given module name as a
List of Strings. If no such module/parameter name is known, null is returned. If
the parameter is defined but is not a list, an IllegalArgumentException is thrown.

@param moduleName    Name of module to get parameter for.
@param paramName     Name of parameter to get value of.
@return              Parameter value as a List of Strings or null if unknown.