Package org.tigris.subversion.javahl
Class NotifyInformation
java.lang.Object
java.util.EventObject
org.tigris.subversion.javahl.NotifyInformation
- All Implemented Interfaces:
Serializable
The event passed to the
Notify2.onNotify(NotifyInformation)
API to notify SVNClientInterface of relevant events.- Since:
- 1.2
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intTheNotifyActionwhich triggered this event.private StringThe name of the changelist.private intTheNotifyStatusof the content of the item.private StringAny error message for the item.private intTheNodeKindof the item.private LockAny lock for the item.private intTheLockStatusof the lock of the item.private RevisionRangeThe range of the merge just beginning to occur.private StringThe MIME type of the item.private StringA common absolute path prefix that can be subtracted from .path.private intTheNotifyStatusof the properties of the item.private longThe revision of the item.private static final longFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionNotifyInformation(String path, int action, int kind, String mimeType, Lock lock, String errMsg, int contentState, int propState, int lockState, long revision, String changelistName, RevisionRange mergeRange, String pathPrefix) This constructor is to be used by the native code.A backward-compat callback. -
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
action
private int actionTheNotifyActionwhich triggered this event. -
kind
private int kindTheNodeKindof the item. -
mimeType
The MIME type of the item. -
lock
Any lock for the item. -
errMsg
Any error message for the item. -
contentState
private int contentStateTheNotifyStatusof the content of the item. -
propState
private int propStateTheNotifyStatusof the properties of the item. -
lockState
private int lockStateTheLockStatusof the lock of the item. -
revision
private long revisionThe revision of the item. -
changelistName
The name of the changelist.- Since:
- 1.5
-
mergeRange
The range of the merge just beginning to occur.- Since:
- 1.5
-
pathPrefix
A common absolute path prefix that can be subtracted from .path.- Since:
- 1.6
-
-
Constructor Details
-
NotifyInformation
NotifyInformation(String path, int action, int kind, String mimeType, Lock lock, String errMsg, int contentState, int propState, int lockState, long revision, String changelistName, RevisionRange mergeRange, String pathPrefix) 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- TheNotifyActionwhich 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- TheNotifyStatusof the content of the item.propState- TheNotifyStatusof the properties of the item.lockState- TheLockStatusof 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.
-
NotifyInformation
A backward-compat callback.
-
-
Method Details
-
getPath
- Returns:
- The path of the item, which is the source of the event.
-
getAction
public int getAction()- Returns:
- The
NotifyActionwhich triggered this event.
-
getKind
public int getKind()- Returns:
- The
NodeKindof 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.
-
getContentState
public int getContentState()- Returns:
- The
NotifyStatusof the content of the item.
-
getPropState
public int getPropState()- Returns:
- The
NotifyStatusof the properties of the item.
-
getLockState
public int getLockState()- Returns:
- The
LockStatusof the lock of the item.
-
getRevision
public long getRevision()- Returns:
- The revision of the item.
-
getChangelistName
- Returns:
- The name of the changelist.
- Since:
- 1.5
-
getMergeRange
- Returns:
- The range of the merge just beginning to occur.
- Since:
- 1.5
-
getPathPrefix
- Returns:
- The common absolute path prefix.
- Since:
- 1.6
-
fromAStatus
-
fromAAction
-