public class NotifyInformation
extends java.util.EventObject
Notify2.onNotify(NotifyInformation)
API to notify SVNClientInterface
of relevant events.Modifier and Type | Field and Description |
---|---|
private int |
action
The
NotifyAction which triggered this event. |
private java.lang.String |
changelistName
The name of the changelist.
|
private int |
contentState
The
NotifyStatus of the content of the item. |
private java.lang.String |
errMsg
Any error message for the item.
|
private int |
kind
The
NodeKind of the item. |
private Lock |
lock
Any lock for the item.
|
private int |
lockState
The
LockStatus of the lock of the item. |
private RevisionRange |
mergeRange
The range of the merge just beginning to occur.
|
private java.lang.String |
mimeType
The MIME type of the item.
|
private java.lang.String |
pathPrefix
A common absolute path prefix that can be subtracted from .path.
|
private int |
propState
The
NotifyStatus of the properties of the item. |
private long |
revision
The revision of the item.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
NotifyInformation(ClientNotifyInformation aInfo)
A backward-compat callback.
|
NotifyInformation(java.lang.String path,
int action,
int kind,
java.lang.String mimeType,
Lock lock,
java.lang.String errMsg,
int contentState,
int propState,
int lockState,
long revision,
java.lang.String changelistName,
RevisionRange mergeRange,
java.lang.String pathPrefix)
This constructor is to be used by the native code.
|
Modifier and Type | Method and Description |
---|---|
private static int |
fromAAction(ClientNotifyInformation.Action aAction) |
private static int |
fromAStatus(ClientNotifyInformation.Status aStatus) |
int |
getAction() |
java.lang.String |
getChangelistName() |
int |
getContentState() |
java.lang.String |
getErrMsg() |
int |
getKind() |
Lock |
getLock() |
int |
getLockState() |
RevisionRange |
getMergeRange() |
java.lang.String |
getMimeType() |
java.lang.String |
getPath() |
java.lang.String |
getPathPrefix() |
int |
getPropState() |
long |
getRevision() |
private static final long serialVersionUID
private int action
NotifyAction
which triggered this event.private int kind
NodeKind
of the item.private java.lang.String mimeType
private Lock lock
private java.lang.String errMsg
private int contentState
NotifyStatus
of the content of the item.private int propState
NotifyStatus
of the properties of the item.private int lockState
LockStatus
of the lock of the item.private long revision
private java.lang.String changelistName
private RevisionRange mergeRange
private java.lang.String pathPrefix
NotifyInformation(java.lang.String path, int action, int kind, java.lang.String mimeType, Lock lock, java.lang.String errMsg, int contentState, int propState, int lockState, long revision, java.lang.String changelistName, RevisionRange mergeRange, java.lang.String pathPrefix)
path
- The path of the item, which is the source of the event.action
- The NotifyAction
which triggered this event.kind
- The NodeKind
of the item.mimeType
- The MIME type of the item.lock
- Any lock for the item.errMsg
- Any error message for the item.contentState
- The NotifyStatus
of the content of
the item.propState
- The NotifyStatus
of the properties of
the item.lockState
- The 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.public NotifyInformation(ClientNotifyInformation aInfo)
public java.lang.String getPath()
public int getAction()
NotifyAction
which triggered this event.public int getKind()
NodeKind
of the item.public java.lang.String getMimeType()
public Lock getLock()
public java.lang.String getErrMsg()
public int getContentState()
NotifyStatus
of the content of the item.public int getPropState()
NotifyStatus
of the properties of the item.public int getLockState()
LockStatus
of the lock of the item.public long getRevision()
public java.lang.String getChangelistName()
public RevisionRange getMergeRange()
public java.lang.String getPathPrefix()
private static int fromAStatus(ClientNotifyInformation.Status aStatus)
private static int fromAAction(ClientNotifyInformation.Action aAction)