'Run this job by kicking its HQEs into status=\'Starting\' if enough
hosts are ready for it to run.
Cleans up by kicking HQEs into status=\'Stopped\' if this Job is not
ready to run.'

def run_if_ready(self, queue_entry):

    if (not self.is_ready()):
        self.stop_if_necessary()
    elif queue_entry.atomic_group:
        self.run_with_ready_delay(queue_entry)
    else:
        self.run(queue_entry)
