Class ChangePath
java.lang.Object
org.apache.subversion.javahl.types.ChangePath
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Actions which may have occurred to this path. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ChangePath.Action
'A'dd, 'D'elete, 'R'eplace, 'M'odifyprivate String
Source path of copy (if any).private long
Source revision of copy (if any).private NodeKind
The kind of the changed path.private String
Path of committed itemprivate Tristate
Whether the properties were modified.private static final long
private Tristate
Whether the text was modified. -
Constructor Summary
ConstructorsConstructorDescriptionChangePath
(String path, long copySrcRevision, String copySrcPath, ChangePath.Action action, NodeKind nodeKind, Tristate textMods, Tristate propMods) Constructor to be called from the native code -
Method Summary
Modifier and TypeMethodDescriptionRetrieve action performedRetrieve the copy source path (if any)long
Retrieve the copy source revision (if any)Retrieve the node kindgetPath()
Retrieve the path to the committed itemRetrieve whether the properties were modified.Retrieve whether the text was modified.
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
path
Path of committed item -
copySrcRevision
private long copySrcRevisionSource revision of copy (if any). -
copySrcPath
Source path of copy (if any). -
action
'A'dd, 'D'elete, 'R'eplace, 'M'odify -
nodeKind
The kind of the changed path. -
textMods
Whether the text was modified. -
propMods
Whether the properties were modified.
-
-
Constructor Details
-
ChangePath
public ChangePath(String path, long copySrcRevision, 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 Details
-
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
Retrieve the copy source path (if any)- Returns:
- the copy source path (if any)
-
getAction
Retrieve action performed- Returns:
- action performed
-
getNodeKind
Retrieve the node kind- Returns:
- the node kind
-
getTextMods
Retrieve whether the text was modified.- Returns:
- the text mod state
-
getPropMods
Retrieve whether the properties were modified.- Returns:
- the prop mod state
-