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. |
notifyFile
void notifyFile(File file,
String relativePathToRoot)
- Invoked when a file is processed by a git command.
- Parameters:
file - processed filerelativePathToRoot - relative path of the file to the root of its repository, without the leading '/'.