public interface RevisionDataService
Modifier and Type | Method and Description |
---|---|
ChangesetDataFE |
getChangeset(java.lang.String repository,
java.lang.String csid) |
FileRevisionData |
getRevision(java.lang.String repository,
java.lang.String path,
java.lang.String rev) |
RevisionGraphSliceData |
getSliceInRevisionGraph(java.lang.String repository,
java.lang.String startingRev,
int max,
Direction direction) |
RevisionGraphSliceData |
getSliceInRevisionGraph(java.lang.String repository,
java.lang.String startingRev,
java.util.Set<java.lang.String> branches,
int max,
Direction direction) |
ChangesetsData |
listChangesets(java.lang.String repository,
java.lang.String path) |
ChangesetsData |
listChangesets(java.lang.String repository,
java.lang.String path,
java.util.Date start) |
ChangesetsData |
listChangesets(java.lang.String repository,
java.lang.String path,
java.util.Date start,
java.util.Date end,
int max) |
java.util.List<FileRevisionData> |
listPathHistory(java.lang.String repository,
java.lang.String path) |
java.util.List<PathInfoData> |
listPaths(java.lang.String repository,
java.lang.String path) |
java.util.List<java.lang.String> |
listTagsForRevision(java.lang.String repository,
java.lang.String path,
java.lang.String rev) |
java.util.List<PathInfoData> listPaths(java.lang.String repository, java.lang.String path)
repository
- the key of the repository to querypath
- the path to query, with respect to the fisheye repository rootFileRevisionData getRevision(java.lang.String repository, java.lang.String path, java.lang.String rev)
repository
- the key of the repository to querypath
- the path of the filerevision, with respect to the fisheye repository rootrev
- the id of the filerevision to retrievejava.util.List<java.lang.String> listTagsForRevision(java.lang.String repository, java.lang.String path, java.lang.String rev)
repository
- the key of the repository to querypath
- the path of the filerevision, with respect to the fisheye repository rootrev
- the id of the filerevision to retrievejava.util.List<FileRevisionData> listPathHistory(java.lang.String repository, java.lang.String path)
repository
- the key of the repository to querypath
- the path to queryChangesetDataFE getChangeset(java.lang.String repository, java.lang.String csid)
repository
- the key of the repository to querycsid
- the ChangesetID of the changeset to returnNotFoundException
- if the changeset doesn't existChangesetsData listChangesets(java.lang.String repository, java.lang.String path)
repository
- the key of the repository to querypath
- restrict the changesets to those in this path, should be "/" to look at the whole repositoryChangesetsData listChangesets(java.lang.String repository, java.lang.String path, java.util.Date start)
repository
- the key of the repository to querypath
- restrict the changesets to those in this path, should be "/" to look at the whole repositorystart
- only return changesets after this dateChangesetsData listChangesets(java.lang.String repository, java.lang.String path, java.util.Date start, java.util.Date end, int max)
repository
- the key of the repository to querypath
- restrict the changesets to those in this path, should be "/" to look at the whole repositorystart
- only return changesets after this dateend
- only return changesets before this datemax
- the maximum number of changesets to return, must be greater than 0RevisionGraphSliceData getSliceInRevisionGraph(java.lang.String repository, java.lang.String startingRev, int max, Direction direction)
repository
- the key of the repository to querystartingRev
- the revision to start frommax
- the maximum number of revisions to returndirection
- specifies whether changesets before, after or in both directions from the startingRev are returnedRevisionGraphSliceData getSliceInRevisionGraph(java.lang.String repository, java.lang.String startingRev, java.util.Set<java.lang.String> branches, int max, Direction direction)
repository
- the key of the repository to querystartingRev
- the changeset to start frombranches
- the branches to restrict the query tomax
- the maximum number of revisions to returndirection
- specifies whether changesets before, after or in both directions from the startingRev are returned