|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.SVNLock
public class 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(java.lang.String path,
java.lang.String id,
java.lang.String owner,
java.lang.String comment,
java.util.Date created,
java.util.Date expires)
Constructs an SVNLock object. |
Method Summary | |
---|---|
java.lang.String |
getComment()
Gets the lock comment. |
java.util.Date |
getCreationDate()
Gets the creation datestamp of this lock. |
java.util.Date |
getExpirationDate()
Gets the expiration datestamp of this lock. |
java.lang.String |
getID()
Gets the lock token. |
java.lang.String |
getOwner()
Gets the lock owner. |
java.lang.String |
getPath()
Gets the path of the file for which this lock was created. |
java.lang.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(java.lang.String path, java.lang.String id, java.lang.String owner, java.lang.String comment, java.util.Date created, java.util.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 java.lang.String getComment()
public java.util.Date getCreationDate()
public java.util.Date getExpirationDate()
public java.lang.String getID()
public java.lang.String getOwner()
public java.lang.String getPath()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |