def METHOD_NAME(self):
    return OrderedDict([
        (
            lambda revision, is_remote_defined: revision == "latest" and is_remote_defined,
            self._update_repository_to_latest
        ),
        (
            lambda revision, is_remote_defined: revision == "current",
            self._update_repository_to_current
        ),
        (
            lambda revision, is_remote_defined: revision.startswith("@") and is_remote_defined,
            self._update_repository_to_timestamp
        ),
        (
            lambda revision, is_remote_defined: is_remote_defined,
            self._update_repository_to_commit_hash
        ),
        (
            lambda revision, is_remote_defined: True,
            self._update_repository_to_local_revision
        ),
    ])