View Javadoc
1   /*
2    * Copyright (C) 2017, Thomas Wolf <thomas.wolf@paranor.ch> and others
3    *
4    * This program and the accompanying materials are made available under the
5    * terms of the Eclipse Distribution License v. 1.0 which is available at
6    * https://www.eclipse.org/org/documents/edl-v10.php.
7    *
8    * SPDX-License-Identifier: BSD-3-Clause
9    */
10  
11  package org.eclipse.jgit.events;
12  
13  /**
14   * Receives {@link org.eclipse.jgit.events.WorkingTreeModifiedEvent}s, which are
15   * fired whenever a {@link org.eclipse.jgit.dircache.DirCacheCheckout} modifies
16   * (adds/deletes/updates) files in the working tree.
17   *
18   * @since 4.9
19   */
20  public interface WorkingTreeModifiedListener extends RepositoryListener {
21  
22  	/**
23  	 * Respond to working tree modifications.
24  	 *
25  	 * @param event
26  	 *            a {@link org.eclipse.jgit.events.WorkingTreeModifiedEvent}
27  	 *            object.
28  	 */
29  	void onWorkingTreeModified(WorkingTreeModifiedEvent event);
30  }