def METHOD_NAME(self):
    job_name_parts = []
    if self.task_name:
        job_name_parts.append(self.task_name)
    elif self.local_context.area_of_interest_name:
        job_name_parts.append(self.local_context.area_of_interest_name)
    elif self.script.name:
        job_name_parts.append(self.script.name)
    return " - ".join(job_name_parts)