org.tigris.subversion.javahl.Notify2 Maven / Gradle / Ivy
The newest version!
/**
* @copyright
* ====================================================================
* 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/.
* ====================================================================
* @endcopyright
*/
package org.tigris.subversion.javahl;
/**
* Subversion notification interface.
*
* Implement this interface and implement the onNotify method
* to provide a custom notification handler to the SVNClient
* class.
* If you need to pass extra information to the notification
* handler then just add these to you implementing class
*
* @since 1.2
*/
public interface Notify2
{
/**
* Handler for Subversion notifications.
*
* Override this function to allow Subversion to
* send notifications
* @param info everything to know about this event
*/
public void onNotify(NotifyInformation info);
}