Constructor and Description |
---|
SVNLock(String path,
String id,
String owner,
String comment,
Date created,
Date expires)
Constructs an SVNLock object.
|
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Gets the lock comment.
|
Date |
getCreationDate()
Gets the creation datestamp of this lock.
|
Date |
getExpirationDate()
Gets the expiration datestamp of this lock.
|
String |
getID()
Gets the lock token.
|
String |
getOwner()
Gets the lock owner.
|
String |
getPath()
Gets the path of the file for which this lock was created.
|
String |
toString()
Returns a string representation of this object.
|
public SVNLock(String path, String id, String owner, String comment, Date created, 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 String getComment()
public Date getCreationDate()
public Date getExpirationDate()
public String getID()
public String getOwner()
public String getPath()
Copyright © 2022. All rights reserved.