|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.wc.admin.SVNChangeEntry
public class SVNChangeEntry
SVNChangeEntry objects are used to pass path change information to clients.
These objects are passed to ISVNChangeEntryHandler
.
Field Summary | |
---|---|
static char |
TYPE_ADDED
Char 'A' (item added). |
static char |
TYPE_DELETED
Char 'D' (item deleted). |
static char |
TYPE_UPDATED
Char 'U' (item updated). |
Constructor Summary | |
---|---|
SVNChangeEntry(java.lang.String path,
SVNNodeKind kind,
char type,
java.lang.String copyFromPath,
long copyFromRevision,
boolean hasTextModifications,
boolean hasPropModifications)
Constructs a change entry object. |
Method Summary | |
---|---|
java.lang.String |
getCopyFromPath()
Returns a copy-from source path. |
long |
getCopyFromRevision()
Returns a copy-from source revision. |
SVNNodeKind |
getKind()
Returns the node kind of the item. |
java.lang.String |
getPath()
Returns the absolute path of the changed item represented by this object. |
char |
getType()
Returns the type of the item change. |
boolean |
hasPropertyModifications()
Says whether the item's properties were modified. |
boolean |
hasTextModifications()
Says whether the file item's contents were modified. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final char TYPE_ADDED
public static final char TYPE_DELETED
public static final char TYPE_UPDATED
Constructor Detail |
---|
public SVNChangeEntry(java.lang.String path, SVNNodeKind kind, char type, java.lang.String copyFromPath, long copyFromRevision, boolean hasTextModifications, boolean hasPropModifications)
path
- the path of a changed itemkind
- node kindtype
- a change type (one of static fields)copyFromPath
- a copy-from source path (if the item is copied)copyFromRevision
- a revision of a copy-from source (if the item is copied)hasTextModifications
- true if path
is a file and it's modified, false
otherwisehasPropModifications
- true if the item has
property modificationsMethod Detail |
---|
public java.lang.String getCopyFromPath()
public long getCopyFromRevision()
public java.lang.String getPath()
public char getType()
public boolean hasPropertyModifications()
public boolean hasTextModifications()
public SVNNodeKind getKind()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |