Package org.apache.subversion.javahl
Class ReposNotifyInformation
- java.lang.Object
-
- java.util.EventObject
-
- org.apache.subversion.javahl.ReposNotifyInformation
-
- All Implemented Interfaces:
java.io.Serializable
public class ReposNotifyInformation extends java.util.EventObject
The event passed to theReposNotifyCallback.onNotify(org.apache.subversion.javahl.ReposNotifyInformation)
API to notifyISVNClient
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
Fields Modifier and Type Field Description private ReposNotifyInformation.Action
action
TheReposNotifyInformation.Action
which triggered this event.private long
newRevision
private ReposNotifyInformation.NodeAction
nodeAction
private long
oldRevision
private java.lang.String
path
private long
revision
The revision of the item.private static long
serialVersionUID
private long
shard
private java.lang.String
warning
The warning text.
-
Constructor Summary
Constructors Constructor Description ReposNotifyInformation(ReposNotifyInformation.Action action, long revision, java.lang.String warning, long shard, long newRevision, long oldRevision, ReposNotifyInformation.NodeAction nodeAction, java.lang.String path)
This constructor is to be used by the native code.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReposNotifyInformation.Action
getAction()
long
getNewRevision()
ReposNotifyInformation.NodeAction
getNodeAction()
long
getOldRevision()
java.lang.String
getPath()
long
getRevision()
long
getShard()
java.lang.String
getWarning()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
action
private ReposNotifyInformation.Action action
TheReposNotifyInformation.Action
which triggered this event.
-
revision
private long revision
The revision of the item.
-
warning
private java.lang.String warning
The warning text.
-
shard
private long shard
-
newRevision
private long newRevision
-
oldRevision
private long oldRevision
-
nodeAction
private ReposNotifyInformation.NodeAction nodeAction
-
path
private java.lang.String path
-
-
Constructor Detail
-
ReposNotifyInformation
public ReposNotifyInformation(ReposNotifyInformation.Action action, long revision, java.lang.String warning, long shard, long newRevision, long oldRevision, ReposNotifyInformation.NodeAction nodeAction, java.lang.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 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 java.lang.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 java.lang.String getPath()
-
-