'return the name of the task'

def get_name(self):

    if (self._role and self.name and (('%s    :    ' % self._role._role_name) not in self.name)):
        return ('%s    :    %s' % (self._role.get_name(), self.name))
    elif self.name:
        return self.name
    elif self._role:
        return ('%s    :    %s' % (self._role.get_name(), self.action))
    else:
        return ('%s' % (self.action,))
