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:
-
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 java.lang.String
Source path of copy (if any).private long
Source revision of copy (if any).private NodeKind
The kind of the changed path.private java.lang.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
(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
Modifier and TypeMethodDescriptionRetrieve action performedjava.lang.String
Retrieve the copy source path (if any)long
Retrieve the copy source revision (if any)Retrieve the node kindjava.lang.String
getPath()
Retrieve the path to the committed itemRetrieve whether the properties were modified.Retrieve whether the text was modified.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
path
private java.lang.String pathPath of committed item -
copySrcRevision
private long copySrcRevisionSource revision of copy (if any). -
copySrcPath
private java.lang.String copySrcPathSource 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(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 Details
-
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
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
-