org.netbeans.libs.git/1 1.1

org.netbeans.libs.git.progress
Interface FileListener

All Superinterfaces:
EventListener, NotificationListener

public interface FileListener
extends NotificationListener

The listener interface for receiving notifications triggered when a file is processed by a git command. The class that is interested in processing such a notification implements this interface and registers itself with an instance of GitClient. When a file is processed by a git command, that object's notifyFile method is invoked.

See Also:
NotificationListener

Method Summary
 void notifyFile(File file, String relativePathToRoot)
          Invoked when a file is processed by a git command.
 

Method Detail

notifyFile

void notifyFile(File file,
                String relativePathToRoot)
Invoked when a file is processed by a git command.

Parameters:
file - processed file
relativePathToRoot - relative path of the file to the root of its repository, without the leading '/'.

org.netbeans.libs.git/1 1.1

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.