Package org.apache.subversion.javahl
Class ClientNotifyInformation
java.lang.Object
java.util.EventObject
org.apache.subversion.javahl.ClientNotifyInformation
- All Implemented Interfaces:
java.io.Serializable
public class ClientNotifyInformation
extends java.util.EventObject
The event passed to the
ClientNotifyCallback.onNotify(org.apache.subversion.javahl.ClientNotifyInformation)
API to notify ISVNClient
of relevant events.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The type of action triggering the notificationstatic enum
static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ClientNotifyInformation.Action
TheClientNotifyInformation.Action
which triggered this event.private java.lang.String
The name of the changelist.private ClientNotifyInformation.Status
TheClientNotifyInformation.Status
of the content of the item.private java.lang.String
Any error message for the item.(package private) int
(package private) long
(package private) long
(package private) long
(package private) long
(package private) long
private NodeKind
TheNodeKind
of the item.private Lock
Any lock for the item.TheClientNotifyInformation.LockStatus
of the lock of the item.private RevisionRange
The range of the merge just beginning to occur.private java.lang.String
The MIME type of the item.(package private) long
private java.lang.String
A common absolute path prefix that can be subtracted from .path.private java.lang.String
private ClientNotifyInformation.Status
TheClientNotifyInformation.Status
of the properties of the item.private long
The revision of the item.private java.util.Map<java.lang.String,
java.lang.String> private static final long
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionClientNotifyInformation
(java.lang.String path, ClientNotifyInformation.Action action, NodeKind kind, java.lang.String mimeType, Lock lock, java.lang.String errMsg, ClientNotifyInformation.Status contentState, ClientNotifyInformation.Status propState, ClientNotifyInformation.LockStatus lockState, long revision, java.lang.String changelistName, RevisionRange mergeRange, java.lang.String pathPrefix, java.lang.String propName, java.util.Map<java.lang.String, java.lang.String> revProps, long oldRevision, long hunkOriginalStart, long hunkOriginalLength, long hunkModifiedStart, long hunkModifiedLength, long hunkMatchedLine, int hunkFuzz) This constructor is to be used by the native code. -
Method Summary
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
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
action
TheClientNotifyInformation.Action
which triggered this event. -
kind
TheNodeKind
of the item. -
mimeType
private java.lang.String mimeTypeThe MIME type of the item. -
lock
Any lock for the item. -
errMsg
private java.lang.String errMsgAny error message for the item. -
contentState
TheClientNotifyInformation.Status
of the content of the item. -
propState
TheClientNotifyInformation.Status
of the properties of the item. -
lockState
TheClientNotifyInformation.LockStatus
of the lock of the item. -
revision
private long revisionThe revision of the item. -
changelistName
private java.lang.String changelistNameThe name of the changelist. -
mergeRange
The range of the merge just beginning to occur. -
pathPrefix
private java.lang.String pathPrefixA common absolute path prefix that can be subtracted from .path. -
propName
private java.lang.String propName -
revProps
private java.util.Map<java.lang.String,java.lang.String> revProps -
oldRevision
long oldRevision -
hunkOriginalStart
long hunkOriginalStart -
hunkOriginalLength
long hunkOriginalLength -
hunkModifiedStart
long hunkModifiedStart -
hunkModifiedLength
long hunkModifiedLength -
hunkMatchedLine
long hunkMatchedLine -
hunkFuzz
int hunkFuzz
-
-
Constructor Details
-
ClientNotifyInformation
public ClientNotifyInformation(java.lang.String path, ClientNotifyInformation.Action action, NodeKind kind, java.lang.String mimeType, Lock lock, java.lang.String errMsg, ClientNotifyInformation.Status contentState, ClientNotifyInformation.Status propState, ClientNotifyInformation.LockStatus lockState, long revision, java.lang.String changelistName, RevisionRange mergeRange, java.lang.String pathPrefix, java.lang.String propName, java.util.Map<java.lang.String, java.lang.String> revProps, long oldRevision, long hunkOriginalStart, long hunkOriginalLength, long hunkModifiedStart, long hunkModifiedLength, long hunkMatchedLine, int hunkFuzz) This constructor is to be used by the native code.- Parameters:
path
- The path of the item, which is the source of the event.action
- TheClientNotifyInformation.Action
which triggered this event.kind
- TheNodeKind
of the item.mimeType
- The MIME type of the item.lock
- Any lock for the item.errMsg
- Any error message for the item.contentState
- TheClientNotifyInformation.Status
of the content of the item.propState
- TheClientNotifyInformation.Status
of the properties of the item.lockState
- TheClientNotifyInformation.LockStatus
of the lock of the item.revision
- The revision of the item.changelistName
- The name of the changelist.mergeRange
- The range of the merge just beginning to occur.pathPrefix
- A common path prefix.
-
-
Method Details
-
getPath
public java.lang.String getPath()- Returns:
- The path of the item, which is the source of the event.
-
getAction
- Returns:
- The
ClientNotifyInformation.Action
which triggered this event.
-
getKind
- Returns:
- The
NodeKind
of the item.
-
getMimeType
public java.lang.String getMimeType()- Returns:
- The MIME type of the item.
-
getLock
- Returns:
- Any lock for the item.
-
getErrMsg
public java.lang.String getErrMsg()- Returns:
- Any error message for the item.
-
getContentState
- Returns:
- The
ClientNotifyInformation.Status
of the content of the item.
-
getPropState
- Returns:
- The
ClientNotifyInformation.Status
of the properties of the item.
-
getLockState
- Returns:
- The
ClientNotifyInformation.LockStatus
of the lock of the item.
-
getRevision
public long getRevision()- Returns:
- The revision of the item.
-
getChangelistName
public java.lang.String getChangelistName()- Returns:
- The name of the changelist.
-
getMergeRange
- Returns:
- The range of the merge just beginning to occur.
-
getPathPrefix
public java.lang.String getPathPrefix()- Returns:
- The common absolute path prefix.
-
getPropName
public java.lang.String getPropName() -
getRevProps
public java.util.Map<java.lang.String,java.lang.String> getRevProps() -
getOldRevision
public long getOldRevision() -
getHunkOriginalStart
public long getHunkOriginalStart() -
getHunkOriginalLength
public long getHunkOriginalLength() -
getHunkModifiedStart
public long getHunkModifiedStart() -
getHunkModifiedLength
public long getHunkModifiedLength() -
getHunkMatchedLine
public long getHunkMatchedLine() -
getHunkFuzz
public int getHunkFuzz()
-