public class ChangePath
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ChangePath.Action
Actions which may have occurred to this path.
|
Modifier and Type | Field and Description |
---|---|
private ChangePath.Action |
action
'A'dd, 'D'elete, 'R'eplace, 'M'odify
|
private java.lang.String |
copySrcPath
Source path of copy (if any).
|
private long |
copySrcRevision
Source revision of copy (if any).
|
private NodeKind |
nodeKind
The kind of the changed path.
|
private java.lang.String |
path
Path of committed item
|
private Tristate |
propMods
Whether the properties were modified.
|
private static long |
serialVersionUID |
private Tristate |
textMods
Whether the text was modified.
|
Constructor and Description |
---|
ChangePath(java.lang.String path,
long copySrcRevision,
java.lang.String copySrcPath,
ChangePath.Action action,
NodeKind nodeKind,
Tristate textMods,
Tristate propMods)
Constructor to be called from the native code
|
Modifier and Type | Method and Description |
---|---|
ChangePath.Action |
getAction()
Retrieve action performed
|
java.lang.String |
getCopySrcPath()
Retrieve the copy source path (if any)
|
long |
getCopySrcRevision()
Retrieve the copy source revision (if any)
|
NodeKind |
getNodeKind()
Retrieve the node kind
|
java.lang.String |
getPath()
Retrieve the path to the committed item
|
Tristate |
getPropMods()
Retrieve whether the properties were modified.
|
Tristate |
getTextMods()
Retrieve whether the text was modified.
|
private static final long serialVersionUID
private java.lang.String path
private long copySrcRevision
private java.lang.String copySrcPath
private ChangePath.Action action
private NodeKind nodeKind
private Tristate textMods
private Tristate propMods
public ChangePath(java.lang.String path, long copySrcRevision, java.lang.String copySrcPath, ChangePath.Action action, NodeKind nodeKind, Tristate textMods, Tristate propMods)
path
- path of the commit itemcopySrcRevision
- copy source revision (if any)copySrcPath
- copy source path (if any)action
- action performednodeKind
- the kind of the changed pathpublic java.lang.String getPath()
public long getCopySrcRevision()
public java.lang.String getCopySrcPath()
public ChangePath.Action getAction()
public NodeKind getNodeKind()
public Tristate getTextMods()
public Tristate getPropMods()