org.tigris.subversion.javahl
Interface Notify


public interface Notify

Subversion notification interface. Implement this interface and implement the onNotify method to provide a custom notification handler to the Modify class. If you need to pass extra information to the notification handler then just add these to you implementing class


Inner Class Summary
static class Notify.Action
          The type of action occuring.
static class Notify.Status
          The type of notification that is occuring.
 
Method Summary
 void onNotify(java.lang.String path, int action, int kind, java.lang.String mimeType, int contentState, int propState, long revision)
          Handler for Subversion notifications.
 

Method Detail

onNotify

public void onNotify(java.lang.String path,
                     int action,
                     int kind,
                     java.lang.String mimeType,
                     int contentState,
                     int propState,
                     long revision)
Handler for Subversion notifications. Override this function to allow Subversion to send notifications
Parameters:
path - on which action happen
action - subversion action, see svn_wc_notify_action_t
kind - node kind of path after action occurred
mimeType - mime type of path after action occurred
contentState - state of content after action occurred
propState - state of properties after action occurred
revision - revision number after action occurred