Package org.tigris.subversion.javahl
Class Lock
- java.lang.Object
-
- org.tigris.subversion.javahl.Lock
-
- All Implemented Interfaces:
Serializable
public class Lock extends Object implements Serializable
Class to describe a lock. It is returned by the lock operation.- Since:
- 1.2
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetComment()DategetCreationDate()DategetExpirationDate()StringgetOwner()StringgetPath()StringgetToken()
-
-
-
Method Detail
-
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
-
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
-
-