org.eclipse.jgit.lib
Class RepositoryAdapter

java.lang.Object
  extended by org.eclipse.jgit.lib.RepositoryAdapter
All Implemented Interfaces:
RepositoryListener

public class RepositoryAdapter
extends java.lang.Object
implements RepositoryListener

A default RepositoryListener that does nothing except invoke an optional general method for any repository change.


Constructor Summary
RepositoryAdapter()
           
 
Method Summary
 void indexChanged(IndexChangedEvent e)
          Invoked when the index changes
 void refsChanged(RefsChangedEvent e)
          Invoked when a ref changes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryAdapter

public RepositoryAdapter()
Method Detail

indexChanged

public void indexChanged(IndexChangedEvent e)
Description copied from interface: RepositoryListener
Invoked when the index changes

Specified by:
indexChanged in interface RepositoryListener
Parameters:
e - information about the changes.

refsChanged

public void refsChanged(RefsChangedEvent e)
Description copied from interface: RepositoryListener
Invoked when a ref changes

Specified by:
refsChanged in interface RepositoryListener
Parameters:
e - information about the changes.