'Converts legacy (from a URL) destinations to contain the appropriate runner params defined in the URL.
:param job_runners: All loaded job runner plugins.
:type job_runners: list of job runner plugins'

def convert_legacy_destinations(self, job_runners):

    for (id, destination) in [(id, destinations[0]) for (id, destinations) in self.destinations.items() if self.is_id(destinations)]:
        if (destination.legacy and (not destination.converted)):
            if (destination.runner in job_runners):
                destination.params = job_runners[destination.runner].url_to_destination(destination.url).params
                destination.converted = True
                if destination.params:
                    log.debug(("Legacy    destination    with    id    '%s',    url    '%s'    converted,    got    params:" % (id, destination.url)))
                    for (k, v) in destination.params.items():
                        log.debug(('                %s:    %s' % (k, v)))
                else:
                    log.debug(("Legacy    destination    with    id    '%s',    url    '%s'    converted,    got    params:" % (id, destination.url)))
            else:
                log.warning(("Legacy    destination    with    id    '%s'    could    not    be    converted:    Unknown    runner    plugin:    %s" % (id, destination.runner)))
