def METHOD_NAME(self, success=True, message=None, data=None):
    self._done = True
    self._done_time = datetime.datetime.now()
    self._errored = not success
    self._message = message
    self._result_data = data
    if self._worker is not None:
        self._worker.set_current_job(None)