public class Info2
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
changelistName
The name of the changelist.
|
private java.lang.String |
checksum
the checksum of the item
|
private java.lang.String |
conflictNew
if the item is in conflict, the filename of the last repository version
file
|
private java.lang.String |
conflictOld
if the item is in conflict, the filename of the base version file
|
private java.lang.String |
conflictWrk
if the item is in conflict, the filename of the working copy
version file
|
private long |
copyFromRev
if the item was copied, the source rev
|
private java.lang.String |
copyFromUrl
if the item was copied, the source url
|
private int |
depth
The depth of the item.
|
private boolean |
hasWcInfo
the flag if the remaining fields are set
|
private int |
kind
the item kinds (see NodeKind)
|
private java.lang.String |
lastChangedAuthor
the author of the last change
|
private long |
lastChangedDate
the date of the last change in ns
|
private long |
lastChangedRev
the revision of the last change
|
private Lock |
lock
the information about any lock (may be null)
|
private java.lang.String |
path
the path of the item
|
private java.lang.String |
prejfile
the property reject file
|
private long |
propTime
the last time the properties of the items were changed in ns
|
private java.lang.String |
reposRootUrl
the root URL of the repository
|
private long |
reposSize
The size of the file in the repository (untranslated,
e.g.
|
private java.lang.String |
reposUUID
the UUID of the repository
|
private long |
rev
the revision of the item
|
private int |
schedule
the scheduled operation at next commit (see ScheduleKind)
|
private static long |
serialVersionUID |
private long |
textTime
the last time the item was changed in ns
|
private ConflictDescriptor |
treeConflict
Info on any tree conflict of which this node is a victim.
|
private java.lang.String |
url
the url of the item
|
private long |
workingSize
The size of the file after being translated into its local
representation, or
-1 if unknown. |
Constructor and Description |
---|
Info2(Info aInfo)
A backward-compat constructor.
|
Info2(java.lang.String path,
java.lang.String url,
long rev,
int kind,
java.lang.String reposRootUrl,
java.lang.String reposUUID,
long lastChangedRev,
long lastChangedDate,
java.lang.String lastChangedAuthor,
Lock lock,
boolean hasWcInfo,
int schedule,
java.lang.String copyFromUrl,
long copyFromRev,
long textTime,
long propTime,
java.lang.String checksum,
java.lang.String conflictOld,
java.lang.String conflictNew,
java.lang.String conflictWrk,
java.lang.String prejfile,
java.lang.String changelistName,
long workingSize,
long reposSize,
int depth,
ConflictDescriptor treeConflict)
constructor to build the object by native code.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChangelistName() |
java.lang.String |
getChecksum()
return the checksum of the item
|
private static java.lang.String |
getChecksumDigest(Checksum checksum) |
ConflictDescriptor |
getConflictDescriptor() |
java.lang.String |
getConflictNew()
return if the item is in conflict, the filename of the last repository
version file
|
private static java.lang.String |
getConflictNew(java.util.Set<ConflictDescriptor> conflicts) |
java.lang.String |
getConflictOld()
return if the item is in conflict, the filename of the base version file
|
private static java.lang.String |
getConflictOld(java.util.Set<ConflictDescriptor> conflicts) |
java.lang.String |
getConflictWrk()
return if the item is in conflict, the filename of the working copy
version file
|
private static java.lang.String |
getConflictWrk(java.util.Set<ConflictDescriptor> conflicts) |
long |
getCopyFromRev()
return if the item was copied, the source rev
|
java.lang.String |
getCopyFromUrl()
return if the item was copied, the source url
|
int |
getDepth() |
int |
getKind()
return the item kinds (see NodeKind)
|
java.lang.String |
getLastChangedAuthor()
return the author of the last change
|
java.util.Date |
getLastChangedDate()
return the date of the last change
|
long |
getLastChangedRev()
return the revision of the last change
|
Lock |
getLock()
return the information about any lock (may be null)
|
java.lang.String |
getPath()
return the path of the item
|
java.lang.String |
getPrejfile()
return the property reject file
|
private static java.lang.String |
getPrejfile(java.util.Set<ConflictDescriptor> conflicts) |
java.util.Date |
getPropTime()
return the last time the properties of the items were changed
|
java.lang.String |
getReposRootUrl()
return the root URL of the repository
|
long |
getReposSize() |
java.lang.String |
getReposUUID()
return the UUID of the repository
|
long |
getRev()
return the revision of the item
|
int |
getSchedule()
return the scheduled operation at next commit (see ScheduleKind)
|
java.util.Date |
getTextTime()
return the last time the item was changed
|
private static ConflictDescriptor |
getTreeConflict(java.util.Set<ConflictDescriptor> conflicts) |
java.lang.String |
getUrl()
return the url of the item
|
long |
getWorkingSize() |
boolean |
isHasWcInfo()
return the flag if the working copy fields are set
|
java.lang.String |
toString() |
private static final long serialVersionUID
private java.lang.String path
private java.lang.String url
private long rev
private int kind
private java.lang.String reposRootUrl
private java.lang.String reposUUID
private long lastChangedRev
private long lastChangedDate
private java.lang.String lastChangedAuthor
private Lock lock
private boolean hasWcInfo
private int schedule
private java.lang.String copyFromUrl
private long copyFromRev
private long textTime
private long propTime
private java.lang.String checksum
private java.lang.String conflictOld
private java.lang.String conflictNew
private java.lang.String conflictWrk
private java.lang.String prejfile
private java.lang.String changelistName
private long workingSize
-1
if unknown. Not applicable
for directories.private long reposSize
-1
.private int depth
private ConflictDescriptor treeConflict
Info2(java.lang.String path, java.lang.String url, long rev, int kind, java.lang.String reposRootUrl, java.lang.String reposUUID, long lastChangedRev, long lastChangedDate, java.lang.String lastChangedAuthor, Lock lock, boolean hasWcInfo, int schedule, java.lang.String copyFromUrl, long copyFromRev, long textTime, long propTime, java.lang.String checksum, java.lang.String conflictOld, java.lang.String conflictNew, java.lang.String conflictWrk, java.lang.String prejfile, java.lang.String changelistName, long workingSize, long reposSize, int depth, ConflictDescriptor treeConflict)
path
- url
- rev
- kind
- reposRootUrl
- reposUUID
- lastChangedRev
- lastChangedDate
- lastChangedAuthor
- lock
- hasWcInfo
- schedule
- copyFromUrl
- copyFromRev
- textTime
- propTime
- checksum
- conflictOld
- conflictNew
- conflictWrk
- prejfile
- depth
- treeConflict
- public Info2(Info aInfo)
private static java.lang.String getConflictOld(java.util.Set<ConflictDescriptor> conflicts)
private static java.lang.String getConflictNew(java.util.Set<ConflictDescriptor> conflicts)
private static java.lang.String getConflictWrk(java.util.Set<ConflictDescriptor> conflicts)
private static java.lang.String getPrejfile(java.util.Set<ConflictDescriptor> conflicts)
private static ConflictDescriptor getTreeConflict(java.util.Set<ConflictDescriptor> conflicts)
private static java.lang.String getChecksumDigest(Checksum checksum)
public java.lang.String getPath()
public java.lang.String getUrl()
public long getRev()
public int getKind()
public java.lang.String getReposRootUrl()
public java.lang.String getReposUUID()
public long getLastChangedRev()
public java.util.Date getLastChangedDate()
public java.lang.String getLastChangedAuthor()
public Lock getLock()
public boolean isHasWcInfo()
public int getSchedule()
public java.lang.String getCopyFromUrl()
public long getCopyFromRev()
public java.util.Date getTextTime()
public java.util.Date getPropTime()
public java.lang.String getChecksum()
public java.lang.String getConflictOld()
public java.lang.String getConflictNew()
public java.lang.String getConflictWrk()
public java.lang.String getPrejfile()
public java.lang.String getChangelistName()
public long getWorkingSize()
-1
if unknown. Not
applicable for directories.public long getReposSize()
-1
.public int getDepth()
null
if the
item is a file.public ConflictDescriptor getConflictDescriptor()
public java.lang.String toString()
toString
in class java.lang.Object