public class FetchCommitsAction extends BaseAction<List<MongoCommit>>
nodeStore| Constructor and Description |
|---|
FetchCommitsAction(MongoNodeStore nodeStore)
Constructs a new
FetchCommitsAction |
FetchCommitsAction(MongoNodeStore nodeStore,
long toRevisionId)
Constructs a new
FetchCommitsAction |
FetchCommitsAction(MongoNodeStore nodeStore,
long fromRevisionId,
long toRevisionId)
Constructs a new
FetchCommitsAction |
| Modifier and Type | Method and Description |
|---|---|
List<MongoCommit> |
execute()
Executes this action.
|
FetchCommitsAction |
includeBranchCommits(boolean includeBranchCommits)
Sets whether the branch commits are included in the query.
|
FetchCommitsAction |
setMaxEntries(int maxEntries)
Sets the max number of entries that should be fetched.
|
public FetchCommitsAction(MongoNodeStore nodeStore)
FetchCommitsActionnodeStore - Node store.public FetchCommitsAction(MongoNodeStore nodeStore, long toRevisionId)
FetchCommitsActionnodeStore - Node store.toRevisionId - To revision id.public FetchCommitsAction(MongoNodeStore nodeStore, long fromRevisionId, long toRevisionId)
FetchCommitsActionnodeStore - Node store.fromRevisionId - From revision id.toRevisionId - To revision id.public FetchCommitsAction setMaxEntries(int maxEntries)
maxEntries - The max number of entries.public FetchCommitsAction includeBranchCommits(boolean includeBranchCommits)
includeBranchCommits - Whether the branch commits are included.public List<MongoCommit> execute()
BaseActionexecute in class BaseAction<List<MongoCommit>>Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.