org.tigris.subversion.javahl

Class Lock

public class Lock extends Object

class to describe a lock. It is return by the lock operation

Since: 1.2

Method Summary
StringgetComment()
DategetCreationDate()
DategetExpirationDate()
StringgetOwner()
StringgetPath()
StringgetToken()

Method Detail

getComment

public String getComment()

Returns: the comment provided during the lock operation

getCreationDate

public Date getCreationDate()

Returns: the date the lock was created

getExpirationDate

public Date getExpirationDate()

Returns: the date when the lock will expire

getOwner

public String getOwner()

Returns: the owner of the lock

getPath

public String getPath()

Returns: the path of the locked item

getToken

public String getToken()

Returns: the token provided during the lock operation