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
Modifier and Type Method Description String
getComment()
Date
getCreationDate()
Date
getExpirationDate()
String
getOwner()
String
getPath()
String
getToken()
-
Method Details
-
getOwner
- Returns:
- the owner of the lock
-
getPath
- Returns:
- the path of the locked item
-
getToken
- Returns:
- the token provided during the lock operation
-
getComment
- Returns:
- the comment provided during the lock operation
-
getCreationDate
- Returns:
- the date the lock was created
-
getExpirationDate
- Returns:
- the date when the lock will expire
-