|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crucible.scm.HasMaybeDetails com.atlassian.crucible.scm.FileHistory
public final class FileHistory
Details of the history of the file at a particular path.
When an instance of this class is created (usually due to a call to getFileHistory(String path) on a DirectoryBrowser implementation), the creator must provide a list of RevisionKeys, sorted most recent first. The creator may optionally put RevisionData instances for some of the keys into the FileHistory object by calling addDetails, if that information is available cheaply.
Constructor Summary | |
---|---|
FileHistory(java.util.List<RevisionKey> revisions)
|
Method Summary | |
---|---|
java.lang.String |
getDisplayPath()
|
java.util.List<RevisionKey> |
getRevisions()
|
Methods inherited from class com.atlassian.crucible.scm.HasMaybeDetails |
---|
addAllDetails, addDetails, anyMaybeDetails, getMaybeDetails, getMaybeDetails |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileHistory(java.util.List<RevisionKey> revisions)
revisions
- a ListMethod Detail |
---|
public java.lang.String getDisplayPath()
public java.util.List<RevisionKey> getRevisions()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |