':param task: A task as described in the class docstring.'

def __init__(self, task):

    self.task = task
    self.dispatcher = None
    self.queue_entry_ids = task.queue_entry_ids
    self.host_ids = task.host_ids
    self.started = False
    self.finished = False
