Package org.apache.subversion.javahl
Class ClientNotifyInformation
java.lang.Object
java.util.EventObject
org.apache.subversion.javahl.ClientNotifyInformation
- All Implemented Interfaces:
Serializable
public class ClientNotifyInformation extends EventObject
The event passed to the
ClientNotifyCallback.onNotify(org.apache.subversion.javahl.ClientNotifyInformation)
API to notify ISVNClient
of relevant events.- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClientNotifyInformation.Action
The type of action triggering the notificationstatic class
ClientNotifyInformation.LockStatus
static class
ClientNotifyInformation.Status
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ClientNotifyInformation(String path, ClientNotifyInformation.Action action, NodeKind kind, String mimeType, Lock lock, String errMsg, List<ClientException.ErrorMessage> errMsgStack, ClientNotifyInformation.Status contentState, ClientNotifyInformation.Status propState, ClientNotifyInformation.LockStatus lockState, long revision, String changelistName, RevisionRange mergeRange, String url, String pathPrefix, String propName, Map<String,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.ClientNotifyInformation(String path, ClientNotifyInformation.Action action, NodeKind kind, String mimeType, Lock lock, String errMsg, ClientNotifyInformation.Status contentState, ClientNotifyInformation.Status propState, ClientNotifyInformation.LockStatus lockState, long revision, String changelistName, RevisionRange mergeRange, String pathPrefix, String propName, Map<String,String> revProps, long oldRevision, long hunkOriginalStart, long hunkOriginalLength, long hunkModifiedStart, long hunkModifiedLength, long hunkMatchedLine, int hunkFuzz)
Deprecated.Constructor compatible with teh 1.8 API; usesnull
URL and errMsgStack values. -
Method Summary
Modifier and Type Method Description ClientNotifyInformation.Action
getAction()
String
getChangelistName()
ClientNotifyInformation.Status
getContentState()
String
getErrMsg()
List<ClientException.ErrorMessage>
getErrMsgDetails()
int
getHunkFuzz()
long
getHunkMatchedLine()
long
getHunkModifiedLength()
long
getHunkModifiedStart()
long
getHunkOriginalLength()
long
getHunkOriginalStart()
NodeKind
getKind()
Lock
getLock()
ClientNotifyInformation.LockStatus
getLockState()
RevisionRange
getMergeRange()
String
getMimeType()
String
getNotifiedPath()
long
getOldRevision()
String
getPath()
String
getPathPrefix()
String
getPropName()
ClientNotifyInformation.Status
getPropState()
long
getRevision()
Map<String,String>
getRevProps()
String
getUrl()
-
Constructor Details
-
ClientNotifyInformation
public ClientNotifyInformation(String path, ClientNotifyInformation.Action action, NodeKind kind, String mimeType, Lock lock, String errMsg, List<ClientException.ErrorMessage> errMsgStack, ClientNotifyInformation.Status contentState, ClientNotifyInformation.Status propState, ClientNotifyInformation.LockStatus lockState, long revision, String changelistName, RevisionRange mergeRange, String url, String pathPrefix, String propName, Map<String,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.- Since:
- 1.9
-
ClientNotifyInformation
@Deprecated public ClientNotifyInformation(String path, ClientNotifyInformation.Action action, NodeKind kind, String mimeType, Lock lock, String errMsg, ClientNotifyInformation.Status contentState, ClientNotifyInformation.Status propState, ClientNotifyInformation.LockStatus lockState, long revision, String changelistName, RevisionRange mergeRange, String pathPrefix, String propName, Map<String,String> revProps, long oldRevision, long hunkOriginalStart, long hunkOriginalLength, long hunkModifiedStart, long hunkModifiedLength, long hunkMatchedLine, int hunkFuzz)Deprecated.Constructor compatible with teh 1.8 API; usesnull
URL and errMsgStack values.
-
-
Method Details
-
getPath
- Returns:
- The path of the item, which is the source of the event. This may actually be a URL.
-
getNotifiedPath
- Returns:
path
, which may benull
.- Since:
- 1.9
-
getAction
- Returns:
- The
ClientNotifyInformation.Action
which triggered this event.
-
getKind
- Returns:
- The
NodeKind
of the item.
-
getMimeType
- Returns:
- The MIME type of the item.
-
getLock
- Returns:
- Any lock for the item.
-
getErrMsg
- Returns:
- Any error message for the item.
-
getErrMsgDetails
- Returns:
- Details about the 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
- Returns:
- The name of the changelist.
-
getMergeRange
- Returns:
- The range of the merge just beginning to occur.
-
getUrl
- Returns:
url
, which may benull
- Since:
- 1.9
-
getPathPrefix
- Returns:
- The common absolute path prefix.
-
getPropName
-
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()
-