|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.tmatesoft.svn.core.wc.SVNCommitPacket
public class SVNCommitPacket
The SVNCommitPacket is a storage for SVNCommitItem objects which represent information on versioned items intended for being committed to a repository.
Used by SVNCommitClient to collect and hold information on paths that are to be committed.
Each SVNCommitPacket is committed in a single transaction.
SVNCommitItem| Field Summary | |
|---|---|
static SVNCommitPacket |
EMPTY
This constant denotes an empty commit items storage (contains no SVNCommitItem objects). |
| Constructor Summary | |
|---|---|
SVNCommitPacket(org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess wcAccess,
SVNCommitItem[] items,
java.util.Map lockTokens)
|
|
| Method Summary | |
|---|---|
void |
dispose()
Disposes the current object. |
SVNCommitItem[] |
getCommitItems()
Gets an array of SVNCommitItem objects stored in this object. |
java.util.Map |
getLockTokens()
|
boolean |
isCommitItemSkipped(SVNCommitItem item)
Determines if an item intended for a commit is set to be skipped - that is not to be committed. |
boolean |
isDisposed()
Determines if this object is disposed. |
SVNCommitPacket |
removeSkippedItems()
|
void |
setCommitItemSkipped(SVNCommitItem item,
boolean skipped)
Sets or unsets a versioned item to be skipped - whether or not it should be committed. |
java.lang.String |
toString()
Gives a string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final SVNCommitPacket EMPTY
SVNCommitItem objects).
| Constructor Detail |
|---|
public SVNCommitPacket(org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess wcAccess,
SVNCommitItem[] items,
java.util.Map lockTokens)
| Method Detail |
|---|
public SVNCommitItem[] getCommitItems()
public void setCommitItemSkipped(SVNCommitItem item,
boolean skipped)
item - an item that should be marked skippedskipped - if true the item is
set to be skipped (a commit operation should skip
the item), otherwise - unskipped if it was
previously marked skippedisCommitItemSkipped(SVNCommitItem)public boolean isCommitItemSkipped(SVNCommitItem item)
item - an item to check
setCommitItemSkipped(SVNCommitItem, boolean)public boolean isDisposed()
public void dispose()
throws SVNException
SVNExceptionpublic java.util.Map getLockTokens()
public SVNCommitPacket removeSkippedItems()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||