Package org.apache.subversion.javahl
Class ReposNotifyInformation
java.lang.Object
java.util.EventObject
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
Nested Classes Modifier and Type Class Description static class
ReposNotifyInformation.Action
The type of action triggering the notificationstatic class
ReposNotifyInformation.NodeAction
-
Field Summary
-
Constructor Summary
Constructors Constructor Description 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
Modifier and Type Method Description ReposNotifyInformation.Action
getAction()
long
getNewRevision()
ReposNotifyInformation.NodeAction
getNodeAction()
long
getOldRevision()
String
getPath()
long
getRevision()
long
getShard()
String
getWarning()
-
Constructor Details
-
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
- TheReposNotifyInformation.Action
which triggered this event.revision
- potentially the revision.
-
-
Method Details
-
getAction
- Returns:
- The
ReposNotifyInformation.Action
which triggered this event.
-
getRevision
public long getRevision()- Returns:
- The revision for the item.
-
getWarning
- Returns:
- The warning text.
-
getShard
public long getShard() -
getNewRevision
public long getNewRevision() -
getOldRevision
public long getOldRevision() -
getNodeAction
-
getPath
-