Package org.tmatesoft.svn.core.wc2
Class SvnWorkingCopyInfo
java.lang.Object
org.tmatesoft.svn.core.wc2.SvnWorkingCopyInfo
Provides information about working copy info, used by
SvnInfo.- Version:
- 1.7
- Author:
- TMate Software Ltd.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns changelist name assigned to item,null if item is not in changelist.Returns checksum of the file,null for directory.Returns all item's conflicts.longGets the revision of the item's ancestor from which the item was copied (the item is added with history).Gets the URL (repository location) of the ancestor from which the item was copied.getDepth()Returns the local item's depth.getPath()Returns working copy path.longReturns last changed file size.longReturn last changed item's time.ReturnsSvnScheduleattribute,null if not scheduled.Return item's working copy root.voidsetChangelist(String changelist) Sets changelist name assigned to item.voidsetChecksum(SvnChecksum checksum) Sets checksum of the file.voidsetConflicts(Collection<SVNConflictDescription> conflicts) Sets the item's conflicts.voidsetCopyFromRevision(long copyFromRevision) Sets the revision of the item's ancestor from which the item was copied (the item is added with history).voidsetCopyFromUrl(SVNURL copyFromURL) Sets the URL (repository location) of the ancestor from which the item was copied.voidSets the local item's depth.voidsetMovedFrom(File movedFrom) voidsetMovedTo(File movedTo) voidSets working copy path.voidsetRecordedSize(long recordedSize) Sets last changed file size.voidsetRecordedTime(long recordedTime) Sets last changed item's time.voidsetSchedule(SvnSchedule schedule) SetsSvnScheduleattribute.voidSets item's working copy root.
-
Constructor Details
-
SvnWorkingCopyInfo
public SvnWorkingCopyInfo()
-
-
Method Details
-
getPath
Returns working copy path.- Returns:
- path
-
getSchedule
ReturnsSvnScheduleattribute,null if not scheduled.- Returns:
- schedule of the item
-
getCopyFromUrl
Gets the URL (repository location) of the ancestor from which the item was copied. That is when the item is added with history.- Returns:
- the item ancestor's URL
-
getChecksum
Returns checksum of the file,null for directory.- Returns:
- checksum of the file
-
getChangelist
Returns changelist name assigned to item,null if item is not in changelist.- Returns:
- changelist name
-
getDepth
Returns the local item's depth.- Returns:
- the local depth of the item
-
getRecordedSize
public long getRecordedSize()Returns last changed file size.- Returns:
- file size
-
getRecordedTime
public long getRecordedTime()Return last changed item's time.- Returns:
- changed time of the item
-
getConflicts
Returns all item's conflicts.- Returns:
- conflicts of the item
-
getWcRoot
Return item's working copy root.- Returns:
- working copy root of the item
-
setPath
Sets working copy path.- Parameters:
path- path
-
setSchedule
SetsSvnScheduleattribute.- Parameters:
schedule- schedule of the item
-
setCopyFromUrl
Sets the URL (repository location) of the ancestor from which the item was copied. That is when the item is added with history.- Parameters:
copyFromURL- the item ancestor's URL
-
setChecksum
Sets checksum of the file.- Parameters:
checksum- checksum of the file
-
setChangelist
Sets changelist name assigned to item.- Parameters:
changelist- changelist name
-
setDepth
Sets the local item's depth.- Parameters:
depth- the local depth of the item
-
setRecordedSize
public void setRecordedSize(long recordedSize) Sets last changed file size.- Parameters:
recordedSize- file size
-
setRecordedTime
public void setRecordedTime(long recordedTime) Sets last changed item's time.- Parameters:
recordedTime- changed time of the item
-
setConflicts
Sets the item's conflicts.- Parameters:
conflicts- conflicts of the item
-
setWcRoot
Sets item's working copy root.- Parameters:
wcRoot- working copy root of the item
-
getCopyFromRevision
public long getCopyFromRevision()Gets the revision of the item's ancestor from which the item was copied (the item is added with history).- Returns:
- the ancestor's revision
-
setCopyFromRevision
public void setCopyFromRevision(long copyFromRevision) Sets the revision of the item's ancestor from which the item was copied (the item is added with history).- Parameters:
copyFromRevision- the ancestor's revision
-
getMovedFrom
-
setMovedFrom
-
getMovedTo
-
setMovedTo
-