public class GitProctor extends FileBasedProctorStore
| Modifier and Type | Class and Description |
|---|---|
static class |
GitProctor.HistoryParser |
FileBasedProctorStore.ProctorUpdater, FileBasedProctorStore.RcsClientcore, DEFAULT_TEST_DEFINITIONS_DIRECTORY| Constructor and Description |
|---|
GitProctor(GitProctorCore core) |
GitProctor(GitProctorCore core,
String testDefinitionsDirectory) |
GitProctor(GitProctorCore core,
String testDefinitionsDirectory,
String branchName) |
GitProctor(String gitPath,
String username,
String password) |
GitProctor(String gitPath,
String username,
String password,
String testDefinitionsDirectory) |
GitProctor(String gitPath,
String username,
String password,
String testDefinitionsDirectory,
String branchName) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkoutBranch(String branchName) |
boolean |
cleanUserWorkspace(String username) |
Map<String,List<Revision>> |
getAllHistories() |
protected GitProctorCore |
getGitCore() |
List<Revision> |
getHistory(String test,
int start,
int limit) |
List<Revision> |
getHistory(String test,
String revision,
int start,
int limit) |
String |
getLatestVersion() |
List<Revision> |
getMatrixHistory(int start,
int limit) |
String |
getName() |
static void |
main(String[] args) |
void |
refresh() |
void |
verifySetup() |
addTestDefinition, addTestDefinition, close, deleteTestDefinition, deleteTestDefinition, getCore, getCurrentTestDefinition, getCurrentTestMatrix, getTestDefinition, getTestMatrix, shutdown, updateTestDefinition, updateTestDefinition, updateThing, writeIfChanged, writeThingpublic GitProctor(String gitPath, String username, String password, String testDefinitionsDirectory)
public GitProctor(String gitPath, String username, String password, String testDefinitionsDirectory, String branchName)
public GitProctor(GitProctorCore core)
public GitProctor(GitProctorCore core, String testDefinitionsDirectory)
public GitProctor(GitProctorCore core, String testDefinitionsDirectory, String branchName)
public static void main(String[] args) throws IOException
IOExceptionpublic void verifySetup()
throws StoreException
StoreExceptionprotected GitProctorCore getGitCore()
public boolean cleanUserWorkspace(String username)
public String getLatestVersion() throws StoreException
StoreExceptionpublic List<Revision> getMatrixHistory(int start, int limit) throws StoreException
StoreExceptionpublic List<Revision> getHistory(String test, int start, int limit) throws StoreException
StoreExceptionpublic List<Revision> getHistory(String test, String revision, int start, int limit) throws StoreException
StoreExceptionpublic Map<String,List<Revision>> getAllHistories() throws StoreException
StoreExceptionpublic void checkoutBranch(String branchName)
public void refresh()
throws StoreException
StoreExceptionpublic String getName()
Copyright © 2019. All rights reserved.