org.tmatesoft.svn.core
public class SVNLock extends Object
Since: SVN 1.2
Version: 1.1.1
See Also: Examples
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.
|
Constructs an SVNLock object.
Parameters: path a file path, relative to the repository root directory id a string token identifying the lock owner the owner of the lock comment a comment message for the lock (optional) created a datestamp when the lock was created expires a datestamp when the lock expires, i.e. the file is unlocked (optional)
Returns: a lock comment message
Returns: a datestamp representing the moment in time when this lock was created
Returns: a datestamp representing the moment in time when the this lock expires
Returns: a unique string identifying this lock
Returns: the owner of this lock
Returns: the path of the locked file
Returns: a string representation of this lock object