Package org.tmatesoft.svn.core.wc2
Class SvnDiffStatus
- java.lang.Object
-
- org.tmatesoft.svn.core.wc2.SvnObject
-
- org.tmatesoft.svn.core.wc2.SvnDiffStatus
-
public class SvnDiffStatus extends SvnObject
Represents short information on path changes inSvnDiffSummarizeoperation.- Version:
- 1.7
- Author:
- TMate Software Ltd.
- See Also:
SvnDiffSummarize
-
-
Constructor Summary
Constructors Constructor Description SvnDiffStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilegetFile()ReturnsFilerepresentation of the working copy item path.SVNNodeKindgetKind()Returns the node kind of the working copy item.SVNStatusTypegetModificationType()Returns the type of modification for the current item.java.lang.StringgetPath()Returns a relative path of the item.SVNURLgetUrl()Returns URL of the item.booleanisPropertiesModified()Returns whether properties of the working copy item are modified.voidsetFile(java.io.File file)SetsFilerepresentation of the working copy item path.voidsetKind(SVNNodeKind kind)Sets the node kind of the working copy item.voidsetModificationType(SVNStatusType modificationType)Sets the type of modification for the current item.voidsetPath(java.lang.String path)Sets a relative path of the item.voidsetPropertiesModified(boolean propertiesModified)Sets whether properties of the working copy item are modified.voidsetUrl(SVNURL url)Sets URL of the item.-
Methods inherited from class org.tmatesoft.svn.core.wc2.SvnObject
getUserData, setUserData
-
-
-
-
Method Detail
-
getModificationType
public SVNStatusType getModificationType()
Returns the type of modification for the current item.- Returns:
- a path change type
-
setModificationType
public void setModificationType(SVNStatusType modificationType)
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:
trueif 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-trueif properties were modified in a particular revision, otherwisefalse
-
getKind
public SVNNodeKind getKind()
Returns the node kind of the working copy item.- Returns:
- node kind
-
setKind
public void setKind(SVNNodeKind kind)
Sets the node kind of the working copy item.- Parameters:
kind- node kind
-
getUrl
public SVNURL getUrl()
Returns URL of the item.- Returns:
- item url
-
setUrl
public void setUrl(SVNURL url)
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()
ReturnsFilerepresentation of the working copy item path.- Returns:
- working copy item path as
File
-
setFile
public void setFile(java.io.File file)
SetsFilerepresentation of the working copy item path.- Parameters:
file- working copy item path asFile
-
-