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
- Author:
- TMate Software Ltd.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFile()
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.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
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
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
-
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
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
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
ReturnsFile
representation of the working copy item path.- Returns:
- working copy item path as
File
-
setFile
SetsFile
representation of the working copy item path.- Parameters:
file
- working copy item path asFile
-