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.EventObjectThe event passed to theClientNotifyCallback.onNotify(org.apache.subversion.javahl.ClientNotifyInformation)API to notifyISVNClientof relevant events.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientNotifyInformation.ActionThe type of action triggering the notificationstatic classClientNotifyInformation.LockStatusstatic classClientNotifyInformation.Status
-
Field Summary
Fields Modifier and Type Field Description private ClientNotifyInformation.ActionactionTheClientNotifyInformation.Actionwhich triggered this event.private java.lang.StringchangelistNameThe name of the changelist.private ClientNotifyInformation.StatuscontentStateTheClientNotifyInformation.Statusof the content of the item.private java.lang.StringerrMsgAny error message for the item.(package private) inthunkFuzz(package private) longhunkMatchedLine(package private) longhunkModifiedLength(package private) longhunkModifiedStart(package private) longhunkOriginalLength(package private) longhunkOriginalStartprivate NodeKindkindTheNodeKindof the item.private LocklockAny lock for the item.private ClientNotifyInformation.LockStatuslockStateTheClientNotifyInformation.LockStatusof the lock of the item.private RevisionRangemergeRangeThe range of the merge just beginning to occur.private java.lang.StringmimeTypeThe MIME type of the item.(package private) longoldRevisionprivate java.lang.StringpathPrefixA common absolute path prefix that can be subtracted from .path.private java.lang.StringpropNameprivate ClientNotifyInformation.StatuspropStateTheClientNotifyInformation.Statusof the properties of the item.private longrevisionThe revision of the item.private java.util.Map<java.lang.String,java.lang.String>revPropsprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientNotifyInformation.ActiongetAction()java.lang.StringgetChangelistName()ClientNotifyInformation.StatusgetContentState()java.lang.StringgetErrMsg()intgetHunkFuzz()longgetHunkMatchedLine()longgetHunkModifiedLength()longgetHunkModifiedStart()longgetHunkOriginalLength()longgetHunkOriginalStart()NodeKindgetKind()LockgetLock()ClientNotifyInformation.LockStatusgetLockState()RevisionRangegetMergeRange()java.lang.StringgetMimeType()longgetOldRevision()java.lang.StringgetPath()java.lang.StringgetPathPrefix()java.lang.StringgetPropName()ClientNotifyInformation.StatusgetPropState()longgetRevision()java.util.Map<java.lang.String,java.lang.String>getRevProps()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
action
private ClientNotifyInformation.Action action
TheClientNotifyInformation.Actionwhich triggered this event.
-
mimeType
private java.lang.String mimeType
The MIME type of the item.
-
lock
private Lock lock
Any lock for the item.
-
errMsg
private java.lang.String errMsg
Any error message for the item.
-
contentState
private ClientNotifyInformation.Status contentState
TheClientNotifyInformation.Statusof the content of the item.
-
propState
private ClientNotifyInformation.Status propState
TheClientNotifyInformation.Statusof the properties of the item.
-
lockState
private ClientNotifyInformation.LockStatus lockState
TheClientNotifyInformation.LockStatusof the lock of the item.
-
revision
private long revision
The revision of the item.
-
changelistName
private java.lang.String changelistName
The name of the changelist.
-
mergeRange
private RevisionRange mergeRange
The range of the merge just beginning to occur.
-
pathPrefix
private java.lang.String pathPrefix
A 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 Detail
-
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.Actionwhich triggered this event.kind- TheNodeKindof the item.mimeType- The MIME type of the item.lock- Any lock for the item.errMsg- Any error message for the item.contentState- TheClientNotifyInformation.Statusof the content of the item.propState- TheClientNotifyInformation.Statusof the properties of the item.lockState- TheClientNotifyInformation.LockStatusof 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 Detail
-
getPath
public java.lang.String getPath()
- Returns:
- The path of the item, which is the source of the event.
-
getAction
public ClientNotifyInformation.Action getAction()
- Returns:
- The
ClientNotifyInformation.Actionwhich triggered this event.
-
getMimeType
public java.lang.String getMimeType()
- Returns:
- The MIME type of the item.
-
getLock
public Lock getLock()
- Returns:
- Any lock for the item.
-
getErrMsg
public java.lang.String getErrMsg()
- Returns:
- Any error message for the item.
-
getContentState
public ClientNotifyInformation.Status getContentState()
- Returns:
- The
ClientNotifyInformation.Statusof the content of the item.
-
getPropState
public ClientNotifyInformation.Status getPropState()
- Returns:
- The
ClientNotifyInformation.Statusof the properties of the item.
-
getLockState
public ClientNotifyInformation.LockStatus getLockState()
- Returns:
- The
ClientNotifyInformation.LockStatusof 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
public RevisionRange 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()
-
-