Package org.tigris.subversion.javahl
Class Info2
java.lang.Object
org.tigris.subversion.javahl.Info2
- All Implemented Interfaces:
Serializable
public class Info2 extends Object implements Serializable
this class is returned by SVNClientInterface.info2 and contains information
about items in the repository or working copy
- Since:
- 1.2
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description String
getChangelistName()
String
getChecksum()
return the checksum of the itemConflictDescriptor
getConflictDescriptor()
String
getConflictNew()
return if the item is in conflict, the filename of the last repository version fileString
getConflictOld()
return if the item is in conflict, the filename of the base version fileString
getConflictWrk()
return if the item is in conflict, the filename of the working copy version filelong
getCopyFromRev()
return if the item was copied, the source revString
getCopyFromUrl()
return if the item was copied, the source urlint
getDepth()
int
getKind()
return the item kinds (see NodeKind)String
getLastChangedAuthor()
return the author of the last changeDate
getLastChangedDate()
return the date of the last changelong
getLastChangedRev()
return the revision of the last changeLock
getLock()
return the information about any lock (may be null)String
getPath()
return the path of the itemString
getPrejfile()
return the property reject fileDate
getPropTime()
return the last time the properties of the items were changedString
getReposRootUrl()
return the root URL of the repositorylong
getReposSize()
String
getReposUUID()
return the UUID of the repositorylong
getRev()
return the revision of the itemint
getSchedule()
return the scheduled operation at next commit (see ScheduleKind)Date
getTextTime()
return the last time the item was changedString
getUrl()
return the url of the itemlong
getWorkingSize()
boolean
isHasWcInfo()
return the flag if the working copy fields are setString
toString()
-
Constructor Details
-
Info2
A backward-compat constructor.
-
-
Method Details
-
getPath
return the path of the item -
getUrl
return the url of the item -
getRev
public long getRev()return the revision of the item -
getKind
public int getKind()return the item kinds (see NodeKind) -
getReposRootUrl
return the root URL of the repository -
getReposUUID
return the UUID of the repository -
getLastChangedRev
public long getLastChangedRev()return the revision of the last change -
getLastChangedDate
return the date of the last change -
getLastChangedAuthor
return the author of the last change -
getLock
return the information about any lock (may be null) -
isHasWcInfo
public boolean isHasWcInfo()return the flag if the working copy fields are set -
getSchedule
public int getSchedule()return the scheduled operation at next commit (see ScheduleKind) -
getCopyFromUrl
return if the item was copied, the source url -
getCopyFromRev
public long getCopyFromRev()return if the item was copied, the source rev -
getTextTime
return the last time the item was changed -
getPropTime
return the last time the properties of the items were changed -
getChecksum
return the checksum of the item -
getConflictOld
return if the item is in conflict, the filename of the base version file -
getConflictNew
return if the item is in conflict, the filename of the last repository version file -
getConflictWrk
return if the item is in conflict, the filename of the working copy version file -
getPrejfile
return the property reject file -
getChangelistName
- Returns:
- The name of the changelist.
- Since:
- 1.5
-
getWorkingSize
public long getWorkingSize()- Returns:
- The size of the file after being translated into its
local representation, or
-1
if unknown. Not applicable for directories. - Since:
- 1.5
-
getReposSize
public long getReposSize()- Returns:
- The size of the file in the repository (untranslated,
e.g. without adjustment of line endings and keyword
expansion). Only applicable for file -- not directory -- URLs.
For working copy paths, size will be
-1
. - Since:
- New in 1.5.
-
getDepth
public int getDepth()- Returns:
- The depth of the directory or
null
if the item is a file. - Since:
- New in 1.5.
-
getConflictDescriptor
- Returns:
- the tree conflict of which this node is a victim, or null if none
- Since:
- New in 1.6.
-
toString
-