Package org.tmatesoft.svn.core.wc2
Class SvnDiffStatus
java.lang.Object
org.tmatesoft.svn.core.wc2.SvnObject
org.tmatesoft.svn.core.wc2.SvnDiffStatus
Represents short information on path changes in
SvnDiffSummarize
operation.- Version:
- 1.7
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate java.io.File
private SVNNodeKind
private SVNStatusType
private java.lang.String
private boolean
private SVNURL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjava.io.File
getFile()
ReturnsFile
representation of the working copy item path.getKind()
Returns the node kind of the working copy item.Returns the type of modification for the current item.java.lang.String
getPath()
Returns a relative path of the item.getUrl()
Returns URL of the item.boolean
Returns whether properties of the working copy item are modified.void
setFile
(java.io.File file) SetsFile
representation of the working copy item path.void
setKind
(SVNNodeKind kind) Sets the node kind of the working copy item.void
setModificationType
(SVNStatusType modificationType) Sets the type of modification for the current item.void
setPath
(java.lang.String path) Sets a relative path of the item.void
setPropertiesModified
(boolean propertiesModified) Sets whether properties of the working copy item are modified.void
Sets URL of the item.Methods inherited from class org.tmatesoft.svn.core.wc2.SvnObject
getUserData, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
modificationType
-
propertiesModified
private boolean propertiesModified -
kind
-
url
-
path
private java.lang.String path -
file
private java.io.File file
-
-
Constructor Details
-
SvnDiffStatus
public SvnDiffStatus()
-
-
Method Details
-
getModificationType
Returns the type of modification for the current item.- Returns:
- a path change type
-
setModificationType
Sets the type of modification for the current item.- Parameters:
modificationType
- a path change type
-
isPropertiesModified
public boolean isPropertiesModified()Returns whether properties of the working copy item are modified.- Returns:
true
if properties were modified in a particular revision, otherwisefalse
-
setPropertiesModified
public void setPropertiesModified(boolean propertiesModified) Sets whether properties of the working copy item are modified.- Parameters:
propertiesModified
-true
if properties were modified in a particular revision, otherwisefalse
-
getKind
Returns the node kind of the working copy item.- Returns:
- node kind
-
setKind
Sets the node kind of the working copy item.- Parameters:
kind
- node kind
-
getUrl
Returns URL of the item.- Returns:
- item url
-
setUrl
Sets URL of the item.- Parameters:
url
- item url
-
getPath
public java.lang.String getPath()Returns a relative path of the item. Relative path is set for working copy items and relative to the anchor of diff status operation.- Returns:
- item path
-
setPath
public void setPath(java.lang.String path) Sets a relative path of the item. Relative path should be set for working copy items and relative to the anchor of diff status operation.- Parameters:
path
- item path
-
getFile
public java.io.File getFile()ReturnsFile
representation of the working copy item path.- Returns:
- working copy item path as
File
-
setFile
public void setFile(java.io.File file) SetsFile
representation of the working copy item path.- Parameters:
file
- working copy item path asFile
-