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. |
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 happenaction
- subversion action, see svn_wc_notify_action_tkind
- node kind of path after action occurredmimeType
- mime type of path after action occurredcontentState
- state of content after action occurredpropState
- state of properties after action occurredrevision
- revision number after action occurred