Copyright (c) 2003-2005 CollabNet. All rights reserved.
This software is licensed as described in the file COPYING, which
you should have received as part of this distribution. The terms
are also available at http://subversion.tigris.org/license-1.html.
If newer versions of this license are posted there, you may use a
newer version instead, at your option.
This software consists of voluntary contributions made by many
individuals. For exact contribution history, see the revision
history and logs, available at http://subversion.tigris.org/.
Subversion notification interface.
Implement this interface and implement the onNotify method
to provide a custom notification handler to the Modify
If you need to pass extra information to the notification
handler then just add these to you implementing class
- Use Notify2 instead
Handler for Subversion notifications.
Override this function to allow Subversion to
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
public void onNotify(String path, int action, int kind, String mimeType, int contentState, int propState, long revision);
The type of action occuring.
The values are defined in the interface NotifyAction for building reasons.
Returns the textual representation for the action kind
action kind of action
- english text
The type of notification that is occuring.
The values are defined in the interface NotifyStatus for building reasons.
Returns the textual representation for the notification type
status type of the notification
- english text