Class ChangePath
- java.lang.Object
-
- org.apache.subversion.javahl.types.ChangePath
-
- All Implemented Interfaces:
java.io.Serializable
public class ChangePath extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChangePath.Action
Actions which may have occurred to this path.
-
Field Summary
Fields Modifier and Type Field Description private ChangePath.Action
action
'A'dd, 'D'elete, 'R'eplace, 'M'odifyprivate 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 itemprivate Tristate
propMods
Whether the properties were modified.private static long
serialVersionUID
private Tristate
textMods
Whether the text was modified.
-
Constructor Summary
Constructors Constructor 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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangePath.Action
getAction()
Retrieve action performedjava.lang.String
getCopySrcPath()
Retrieve the copy source path (if any)long
getCopySrcRevision()
Retrieve the copy source revision (if any)NodeKind
getNodeKind()
Retrieve the node kindjava.lang.String
getPath()
Retrieve the path to the committed itemTristate
getPropMods()
Retrieve whether the properties were modified.Tristate
getTextMods()
Retrieve whether the text was modified.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
path
private java.lang.String path
Path of committed item
-
copySrcRevision
private long copySrcRevision
Source revision of copy (if any).
-
copySrcPath
private java.lang.String copySrcPath
Source path of copy (if any).
-
action
private ChangePath.Action action
'A'dd, 'D'elete, 'R'eplace, 'M'odify
-
nodeKind
private NodeKind nodeKind
The kind of the changed path.
-
textMods
private Tristate textMods
Whether the text was modified.
-
propMods
private Tristate propMods
Whether the properties were modified.
-
-
Constructor Detail
-
ChangePath
public 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- Parameters:
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 path
-
-
Method Detail
-
getPath
public java.lang.String getPath()
Retrieve the path to the committed item- Returns:
- the path to the committed item
-
getCopySrcRevision
public long getCopySrcRevision()
Retrieve the copy source revision (if any)- Returns:
- the copy source revision (if any)
-
getCopySrcPath
public java.lang.String getCopySrcPath()
Retrieve the copy source path (if any)- Returns:
- the copy source path (if any)
-
getAction
public ChangePath.Action getAction()
Retrieve action performed- Returns:
- action performed
-
getNodeKind
public NodeKind getNodeKind()
Retrieve the node kind- Returns:
- the node kind
-
getTextMods
public Tristate getTextMods()
Retrieve whether the text was modified.- Returns:
- the text mod state
-
getPropMods
public Tristate getPropMods()
Retrieve whether the properties were modified.- Returns:
- the prop mod state
-
-