| java.lang.Object org.tmatesoft.svn.core.wc.admin.SVNChangeEntry
SVNChangeEntry | public class SVNChangeEntry (Code) | | SVNChangeEntry objects are used to pass path change information to clients.
These objects are passed to
ISVNChangeEntryHandler .
version: 1.1.1 author: TMate Software Ltd. since: 1.1.1 |
Field Summary | |
final public static char | TYPE_ADDED Char 'A' (item added). | final public static char | TYPE_DELETED Char 'D' (item deleted). | final public static char | TYPE_UPDATED Char 'U' (item updated). |
Constructor Summary | |
public | SVNChangeEntry(String path, SVNNodeKind kind, char type, String copyFromPath, long copyFromRevision, boolean hasTextModifications, boolean hasPropModifications) Constructs a change entry object. |
TYPE_ADDED | final public static char TYPE_ADDED(Code) | | Char 'A' (item added).
|
TYPE_DELETED | final public static char TYPE_DELETED(Code) | | Char 'D' (item deleted).
|
TYPE_UPDATED | final public static char TYPE_UPDATED(Code) | | Char 'U' (item updated).
|
SVNChangeEntry | public SVNChangeEntry(String path, SVNNodeKind kind, char type, String copyFromPath, long copyFromRevision, boolean hasTextModifications, boolean hasPropModifications)(Code) | | Constructs a change entry object.
Parameters: path - the path of a changed item Parameters: type - a change type (one of static fields) Parameters: copyFromPath - a copy-from source path (if the item is copied) Parameters: copyFromRevision - a revision of a copy-from source (if the item is copied) Parameters: hasTextModifications - true if path is a file and it's modified, false otherwise Parameters: hasPropModifications - true if the item hasproperty modifications |
getCopyFromPath | public String getCopyFromPath()(Code) | | Returns a copy-from source path.
a copy-from path |
getCopyFromRevision | public long getCopyFromRevision()(Code) | | Returns a copy-from source revision.
a copy-from revision number |
getKind | public SVNNodeKind getKind()(Code) | | Returns the node kind of the item.
an item node kind |
getPath | public String getPath()(Code) | | Returns the absolute path of the changed item represented by
this object.
the absolute path |
getType | public char getType()(Code) | | Returns the type of the item change.
a char that is one of static fields of this class |
hasPropertyModifications | public boolean hasPropertyModifications()(Code) | | Says whether the item's properties were
modified.
true if the item has property modifications, otherwise false |
hasTextModifications | public boolean hasTextModifications()(Code) | | Says whether the file item's contents were
modified. This method is relevant only for
file contents.
true if the item has text modifications, otherwise false |
|
|