public interface FileBasedPersisterCore extends Closeable
| Modifier and Type | Method and Description |
|---|---|
TestVersionResult |
determineVersions(String fetchRevision) |
void |
doInWorkingDirectory(String username,
String password,
String comment,
String previousVersion,
FileBasedProctorStore.ProctorUpdater updater) |
void |
doInWorkingDirectory(String username,
String password,
String author,
String comment,
String previousVersion,
FileBasedProctorStore.ProctorUpdater updater) |
String |
getAddTestRevision() |
<C> C |
getFileContents(Class<C> c,
String[] path,
C defaultValue,
String revision)
Parses a JSON class from a specified path relative to the root of the base directory.
|
<C> C getFileContents(Class<C> c, String[] path, C defaultValue, String revision) throws StoreException.ReadException, com.fasterxml.jackson.core.JsonProcessingException
c - path - defaultValue - StoreException.ReadExceptioncom.fasterxml.jackson.core.JsonProcessingExceptionvoid doInWorkingDirectory(String username, String password, String comment, String previousVersion, FileBasedProctorStore.ProctorUpdater updater) throws StoreException.TestUpdateException
void doInWorkingDirectory(String username, String password, String author, String comment, String previousVersion, FileBasedProctorStore.ProctorUpdater updater) throws StoreException.TestUpdateException
TestVersionResult determineVersions(String fetchRevision) throws StoreException.ReadException
StoreException.ReadExceptionString getAddTestRevision()
Copyright © 2019. All rights reserved.