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