Fix build and test failures
[egit.git] / org.eclipse.egit.core / src / org / eclipse / egit / core / project / RepositoryChangeListener.java
blobd07fb8ed5be7d540364f44fbd29d3d9d96e8da6c
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;
11 /**
12 * Receives notification of a repository change event.
13 * <p>
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
17 * necessary.
18 * </p>
20 public interface RepositoryChangeListener {
21 /**
22 * Invoked when a repository has had some or all of its contents change.
24 * @param which
25 * the affected repository. Never null.
27 public void repositoryChanged(RepositoryMapping which);