public class SvnWorkingCopyInfo
extends java.lang.Object
SvnInfo
.SvnInfo
,
SvnGetInfo
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
changelist |
private SvnChecksum |
checksum |
private java.util.Collection<SVNConflictDescription> |
conflicts |
private long |
copyFromRevision |
private SVNURL |
copyFromUrl |
private SVNDepth |
depth |
private java.io.File |
movedFrom |
private java.io.File |
movedTo |
private java.io.File |
path |
private long |
recordedSize |
private long |
recordedTime |
private SvnSchedule |
schedule |
private java.io.File |
wcRoot |
Constructor and Description |
---|
SvnWorkingCopyInfo() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChangelist()
Returns changelist name assigned to item,
null if item is not in changelist. |
SvnChecksum |
getChecksum()
Returns checksum of the file,
null for directory. |
java.util.Collection<SVNConflictDescription> |
getConflicts()
Returns all item's conflicts.
|
long |
getCopyFromRevision()
Gets the revision of the item's ancestor from which the item was copied
(the item is added with history).
|
SVNURL |
getCopyFromUrl()
Gets the URL (repository location) of the ancestor from which the item
was copied.
|
SVNDepth |
getDepth()
Returns the local item's depth.
|
java.io.File |
getMovedFrom() |
java.io.File |
getMovedTo() |
java.io.File |
getPath()
Returns working copy path.
|
long |
getRecordedSize()
Returns last changed file size.
|
long |
getRecordedTime()
Return last changed item's time.
|
SvnSchedule |
getSchedule()
Returns
SvnSchedule attribute, null if not scheduled. |
java.io.File |
getWcRoot()
Return item's working copy root.
|
void |
setChangelist(java.lang.String changelist)
Sets changelist name assigned to item.
|
void |
setChecksum(SvnChecksum checksum)
Sets checksum of the file.
|
void |
setConflicts(java.util.Collection<SVNConflictDescription> conflicts)
Sets the item's conflicts.
|
void |
setCopyFromRevision(long copyFromRevision)
Sets the revision of the item's ancestor from which the item was copied
(the item is added with history).
|
void |
setCopyFromUrl(SVNURL copyFromURL)
Sets the URL (repository location) of the ancestor from which the item
was copied.
|
void |
setDepth(SVNDepth depth)
Sets the local item's depth.
|
void |
setMovedFrom(java.io.File movedFrom) |
void |
setMovedTo(java.io.File movedTo) |
void |
setPath(java.io.File path)
Sets working copy path.
|
void |
setRecordedSize(long recordedSize)
Sets last changed file size.
|
void |
setRecordedTime(long recordedTime)
Sets last changed item's time.
|
void |
setSchedule(SvnSchedule schedule)
Sets
SvnSchedule attribute. |
void |
setWcRoot(java.io.File wcRoot)
Sets item's working copy root.
|
private java.io.File path
private SvnSchedule schedule
private SVNURL copyFromUrl
private long copyFromRevision
private SvnChecksum checksum
private java.lang.String changelist
private SVNDepth depth
private long recordedSize
private long recordedTime
private java.util.Collection<SVNConflictDescription> conflicts
private java.io.File wcRoot
private java.io.File movedFrom
private java.io.File movedTo
public java.io.File getPath()
public SvnSchedule getSchedule()
SvnSchedule
attribute, null if not scheduled.
public SVNURL getCopyFromUrl()
public SvnChecksum getChecksum()
null for directory.
public java.lang.String getChangelist()
null if item is not in changelist.
public SVNDepth getDepth()
public long getRecordedSize()
public long getRecordedTime()
public java.util.Collection<SVNConflictDescription> getConflicts()
public java.io.File getWcRoot()
public void setPath(java.io.File path)
path
- pathpublic void setSchedule(SvnSchedule schedule)
SvnSchedule
attribute.schedule
- schedule of the itempublic void setCopyFromUrl(SVNURL copyFromURL)
copyFromURL
- the item ancestor's URLpublic void setChecksum(SvnChecksum checksum)
checksum
- checksum of the filepublic void setChangelist(java.lang.String changelist)
changelist
- changelist namepublic void setDepth(SVNDepth depth)
depth
- the local depth of the itempublic void setRecordedSize(long recordedSize)
recordedSize
- file sizepublic void setRecordedTime(long recordedTime)
recordedTime
- changed time of the itempublic void setConflicts(java.util.Collection<SVNConflictDescription> conflicts)
conflicts
- conflicts of the itempublic void setWcRoot(java.io.File wcRoot)
wcRoot
- working copy root of the itempublic long getCopyFromRevision()
public void setCopyFromRevision(long copyFromRevision)
copyFromRevision
- the ancestor's revisionpublic java.io.File getMovedFrom()
public void setMovedFrom(java.io.File movedFrom)
public java.io.File getMovedTo()
public void setMovedTo(java.io.File movedTo)