1 /*******************************************************************************
2 * Copyright (C) 2007, Shawn O. Pearce <spearce@spearce.org>
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *******************************************************************************/
9 package org
.eclipse
.egit
.core
.project
;
12 * Receives notification of a repository change event.
14 * A change listener may be called from any thread, especially background job
15 * threads, but also from the UI thread. Implementors are encouraged to complete
16 * quickly, and make arrange for their tasks to run on the UI event thread if
20 public interface RepositoryChangeListener
{
22 * Invoked when a repository has had some or all of its contents change.
25 * the affected repository. Never null.
27 public void repositoryChanged(RepositoryMapping which
);