Package org.tmatesoft.svn.core.wc
Class SVNDiffStatus
java.lang.Object
org.tmatesoft.svn.core.wc.SVNDiffStatus
The SVNDiffStatus class is used to provide short information on path changes
during diff status operations.
- Since:
- 1.2
- Version:
- 1.3
- Author:
- TMate Software Ltd.
-
Constructor Summary
ConstructorsConstructorDescriptionSVNDiffStatus(File file, SVNURL url, String path, SVNStatusType type, boolean propsModified, SVNNodeKind kind) Instantiates a new object. -
Method Summary
Modifier and TypeMethodDescriptiongetFile()Returns File 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()Url of the item.booleanSays whether properties of the Working Copy item are modified.
-
Constructor Details
-
SVNDiffStatus
public SVNDiffStatus(File file, SVNURL url, String path, SVNStatusType type, boolean propsModified, SVNNodeKind kind) Instantiates a new object.- Parameters:
file- a wc item pathurl- an item urlpath- a relative item path (may be null)type- a type of path changepropsModified- sets whether properties are modifiedkind- a path kind (dir or file)
-
-
Method Details
-
getFile
Returns File representation of the Working Copy item path.- Returns:
- wc item path as File
-
isPropertiesModified
public boolean isPropertiesModified()Says whether properties of the Working Copy item are modified.- Returns:
- true if properties were modified in a particular revision, false otherwise
-
getKind
Returns the node kind of the Working Copy item.- Returns:
- node kind
-
getModificationType
Returns the type of modification for the current item.- Returns:
- a path change type
-
getPath
Returns a relative path of the item. Set for Working Copy items and relative to the anchor of diff status operation.- Returns:
- item path
-
getURL
Url of the item.- Returns:
- item url
-