Package org.tmatesoft.svn.core.wc
Class SVNDiffStatus
java.lang.Object
org.tmatesoft.svn.core.wc.SVNDiffStatus
public class SVNDiffStatus
extends java.lang.Object
The SVNDiffStatus class is used to provide short information on path changes
during diff status operations.
- Since:
- 1.2
- Version:
- 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate java.io.File
private boolean
private SVNNodeKind
private SVNStatusType
private java.lang.String
private SVNURL
-
Constructor Summary
ConstructorsConstructorDescriptionSVNDiffStatus
(java.io.File file, SVNURL url, java.lang.String path, SVNStatusType type, boolean propsModified, SVNNodeKind kind) Instantiates a new object. -
Method Summary
Modifier and TypeMethodDescriptionjava.io.File
getFile()
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.java.lang.String
getPath()
Returns a relative path of the item.getURL()
Url of the item.boolean
Says whether properties of the Working Copy item are modified.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
myModificationType
-
myIsPropertiesModified
private boolean myIsPropertiesModified -
myKind
-
myURL
-
myPath
private java.lang.String myPath -
myFile
private java.io.File myFile
-
-
Constructor Details
-
SVNDiffStatus
public SVNDiffStatus(java.io.File file, SVNURL url, java.lang.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
public java.io.File 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
public java.lang.String 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
-