public class Info
extends java.lang.Object
implements java.io.Serializable
ISVNClient.info2(java.lang.String, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Revision, org.apache.subversion.javahl.types.Depth, java.util.Collection<java.lang.String>, org.apache.subversion.javahl.callback.InfoCallback)
and contains information
about items in the repository or working copyModifier and Type | Class and Description |
---|---|
static class |
Info.ScheduleKind |
Constructor and Description |
---|
Info(java.lang.String path,
java.lang.String wcroot,
java.lang.String url,
long rev,
NodeKind kind,
java.lang.String reposRootUrl,
java.lang.String reposUUID,
long lastChangedRev,
long lastChangedDate,
java.lang.String lastChangedAuthor,
Lock lock,
boolean hasWcInfo,
Info.ScheduleKind schedule,
java.lang.String copyFromUrl,
long copyFromRev,
long textTime,
Checksum checksum,
java.lang.String changelistName,
long workingSize,
long reposSize,
Depth depth,
java.util.Set<ConflictDescriptor> conflict)
constructor to build the object by native code.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChangelistName() |
Checksum |
getChecksum()
return the checksum of the item
|
java.util.Set<ConflictDescriptor> |
getConflicts() |
long |
getCopyFromRev()
return if the item was copied, the source rev
|
java.lang.String |
getCopyFromUrl()
return if the item was copied, the source url
|
Depth |
getDepth() |
NodeKind |
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 |
getLastChangedDateMicros()
Returns the last date the item was changed measured in the
number of microseconds since 00:00:00 January 1, 1970 UTC.
|
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 |
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
|
Info.ScheduleKind |
getSchedule()
return the scheduled operation at next commit (see ScheduleKind)
|
java.util.Date |
getTextTime()
return the last time the item was changed
|
java.lang.String |
getUrl()
return the url of the item
|
java.lang.String |
getWcroot()
return the workgin copy root
|
long |
getWorkingSize() |
boolean |
isHasWcInfo()
return the flag if the working copy fields are set
|
java.lang.String |
toString() |
public Info(java.lang.String path, java.lang.String wcroot, java.lang.String url, long rev, NodeKind kind, java.lang.String reposRootUrl, java.lang.String reposUUID, long lastChangedRev, long lastChangedDate, java.lang.String lastChangedAuthor, Lock lock, boolean hasWcInfo, Info.ScheduleKind schedule, java.lang.String copyFromUrl, long copyFromRev, long textTime, Checksum checksum, java.lang.String changelistName, long workingSize, long reposSize, Depth depth, java.util.Set<ConflictDescriptor> conflict)
path
- wcroot
- url
- rev
- kind
- reposRootUrl
- reposUUID
- lastChangedRev
- lastChangedDate
- lastChangedAuthor
- lock
- hasWcInfo
- schedule
- copyFromUrl
- copyFromRev
- textTime
- checksum
- depth
- treeConflict
- public java.lang.String getPath()
public java.lang.String getWcroot()
public java.lang.String getUrl()
public long getRev()
public NodeKind getKind()
public java.lang.String getReposRootUrl()
public java.lang.String getReposUUID()
public long getLastChangedRev()
public java.util.Date getLastChangedDate()
public long getLastChangedDateMicros()
public java.lang.String getLastChangedAuthor()
public Lock getLock()
public boolean isHasWcInfo()
public Info.ScheduleKind getSchedule()
public java.lang.String getCopyFromUrl()
public long getCopyFromRev()
public java.util.Date getTextTime()
public Checksum getChecksum()
public java.lang.String getChangelistName()
public long getWorkingSize()
-1
if unknown. Not
applicable for directories.public long getReposSize()
-1
.public Depth getDepth()
null
if the
item is a file.public java.util.Set<ConflictDescriptor> getConflicts()
public java.lang.String toString()
toString
in class java.lang.Object