|
JavaSVN Home | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tmatesoft.svn.core.SVNLock
The SVNLock class represents a file lock. It holds information on a lock path, token, owner, comment, creation and expiration dates.
| Constructor Summary | |
SVNLock(String path,
String id,
String owner,
String comment,
Date created,
Date expires)
Constructs an SVNLock object. |
|
| Method Summary | |
String |
getComment()
Gets the lock comment. |
Date |
getCreationDate()
Gets the creation datestamp of this lock. |
Date |
getExpirationDate()
Gets the expiration datestamp of this lock. |
String |
getID()
Gets the lock token. |
String |
getOwner()
Gets the lock owner. |
String |
getPath()
Gets the path of the file for which this lock was created. |
String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SVNLock(String path,
String id,
String owner,
String comment,
Date created,
Date expires)
Constructs an SVNLock object.
path - a file path, relative to the repository root
directoryid - a string token identifying the lockowner - the owner of the lockcomment - a comment message for the lock (optional)created - a datestamp when the lock was createdexpires - a datestamp when the lock expires, i.e. the file is
unlocked (optional)| Method Detail |
public String getComment()
public Date getCreationDate()
public Date getExpirationDate()
public String getID()
public String getOwner()
public String getPath()
public String toString()
|
JavaSVN Home | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||