|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.wc2.SvnCommitItem
public class SvnCommitItem
Provides information about a committed revision. Commit information includes:
Field Summary | |
---|---|
static int |
ADD
|
static int |
COPY
|
static int |
DELETE
|
static int |
LOCK
|
static int |
PROPS_MODIFIED
|
static int |
TEXT_MODIFIED
|
Constructor Summary | |
---|---|
SvnCommitItem()
|
Method Summary | |
---|---|
void |
addIncomingProperty(java.lang.String name,
SVNPropertyValue value)
|
void |
addOutgoingProperty(java.lang.String name,
SVNPropertyValue value)
Adds property with the name and the value that should be committed within the item. |
long |
getCopyFromRevision()
Returns revision number of the repository item from whose working copy item was copied. |
SVNURL |
getCopyFromUrl()
Returns URL from whose the item was copied. |
int |
getFlags()
Returns commit item's flags. |
java.util.Map<java.lang.String,SVNPropertyValue> |
getIncomingProperties()
|
SVNNodeKind |
getKind()
Returns commit item's node kind. |
java.util.Map<java.lang.String,SVNPropertyValue> |
getOutgoingProperties()
Returns all properties that should be committed within the item. |
java.io.File |
getPath()
Returns commit item's working copy path. |
long |
getRevision()
Returns the revision number the repository was committed to. |
SVNURL |
getUrl()
Returns commit item's repository URL. |
boolean |
hasFlag(int flag)
Checks whether commit item has the flag |
void |
setCopyFromRevision(long copyFromRevision)
Sets revision number of the repository item from whose working copy item was copied. |
void |
setCopyFromUrl(SVNURL copyFromUrl)
Sets URL from whose the item was copied. |
void |
setFlags(int commitFlags)
Sets commit item's flags. |
void |
setKind(SVNNodeKind kind)
Sets commit item's node kind. |
void |
setPath(java.io.File path)
Sets commit item's working copy path. |
void |
setRevision(long revision)
Sets the revision number the repository was committed to. |
void |
setUrl(SVNURL url)
Sets commit item's repository URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ADD
public static final int DELETE
public static final int TEXT_MODIFIED
public static final int PROPS_MODIFIED
public static final int COPY
public static final int LOCK
Constructor Detail |
---|
public SvnCommitItem()
Method Detail |
---|
public java.io.File getPath()
public SVNNodeKind getKind()
public SVNURL getUrl()
public long getRevision()
public SVNURL getCopyFromUrl()
public long getCopyFromRevision()
public int getFlags()
setFlags(int)
public void setPath(java.io.File path)
path
- working copy path of the commit itempublic void setKind(SVNNodeKind kind)
kind
- node kind of the commit itempublic void setUrl(SVNURL url)
url
- repository URL of the commit itempublic void setRevision(long revision)
revision
- revision number of the commit itempublic void setCopyFromUrl(SVNURL copyFromUrl)
copyFromUrl
- URL of the source copy itempublic void setCopyFromRevision(long copyFromRevision)
copyFromRevision
- revision number of the source copy itempublic void setFlags(int commitFlags)
commitFlags
- the flags of the commit itempublic boolean hasFlag(int flag)
flag
- the value of the flag
true
if commit item flags contain the requested value, otherwise false
public java.util.Map<java.lang.String,SVNPropertyValue> getOutgoingProperties()
public void addOutgoingProperty(java.lang.String name, SVNPropertyValue value)
name
- of the propertyvalue
- of the propertypublic java.util.Map<java.lang.String,SVNPropertyValue> getIncomingProperties()
public void addIncomingProperty(java.lang.String name, SVNPropertyValue value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |