1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  *
4  * This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License 2.0
6  * which accompanies this distribution, and is available at
7  * https://www.eclipse.org/legal/epl-2.0/
8  *
9  * SPDX-License-Identifier: EPL-2.0
10  *
11  * Contributors:
12  *     IBM Corporation - initial API and implementation
13  *******************************************************************************/
14 package org.eclipse.team.core.subscribers;
15 
16 import java.util.EventListener;
17 
18 /**
19  * A subscriber change listener is notified of changes to resources
20  * regarding their subscriber synchronization state.
21  * <p>
22  * Clients may implement this interface.
23  * </p>
24  * @see Subscriber#addListener(ISubscriberChangeListener)
25  * @since 3.0
26  */
27 public interface ISubscriberChangeListener extends EventListener{
28 
29 	/**
30 	 * Notifies this listener that some resources' subscriber properties have
31 	 * changed. The changes have already happened. For example, a resource's
32 	 * base revision may have changed. The resource tree may or may not be open for modification
33 	 * when this method is invoked.
34 	 *
35 	 * @param deltas detailing the kinds of changes
36 	 */
subscriberResourceChanged(ISubscriberChangeEvent[] deltas)37 	public void subscriberResourceChanged(ISubscriberChangeEvent[] deltas);
38 }
39 
40