Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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)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
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.