org.apache.subversion.javahl
Class ReposNotifyInformation

java.lang.Object
  extended by java.util.EventObject
      extended by org.apache.subversion.javahl.ReposNotifyInformation
All Implemented Interfaces:
Serializable

public class ReposNotifyInformation
extends EventObject

The event passed to the ReposNotifyCallback.onNotify(org.apache.subversion.javahl.ReposNotifyInformation) API to notify ISVNClient of relevant events.

See Also:
Serialized Form

Nested Class Summary
static class ReposNotifyInformation.Action
          The type of action triggering the notification
static class ReposNotifyInformation.NodeAction
           
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ReposNotifyInformation(ReposNotifyInformation.Action action, long revision, String warning, long shard, long newRevision, long oldRevision, ReposNotifyInformation.NodeAction nodeAction, String path)
          This constructor is to be used by the native code.
 
Method Summary
 ReposNotifyInformation.Action getAction()
           
 long getNewRevision()
           
 ReposNotifyInformation.NodeAction getNodeAction()
           
 long getOldRevision()
           
 String getPath()
           
 long getRevision()
           
 long getShard()
           
 String getWarning()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReposNotifyInformation

public ReposNotifyInformation(ReposNotifyInformation.Action action,
                              long revision,
                              String warning,
                              long shard,
                              long newRevision,
                              long oldRevision,
                              ReposNotifyInformation.NodeAction nodeAction,
                              String path)
This constructor is to be used by the native code.

Parameters:
action - The ReposNotifyInformation.Action which triggered this event.
revision - potentially the revision.
Method Detail

getAction

public ReposNotifyInformation.Action getAction()
Returns:
The ReposNotifyInformation.Action which triggered this event.

getRevision

public long getRevision()
Returns:
The revision for the item.

getWarning

public String getWarning()
Returns:
The warning text.

getShard

public long getShard()

getNewRevision

public long getNewRevision()

getOldRevision

public long getOldRevision()

getNodeAction

public ReposNotifyInformation.NodeAction getNodeAction()

getPath

public String getPath()