public interface FileBasedPersisterCore extends Closeable
| Modifier and Type | Method and Description |
|---|---|
TestVersionResult |
determineVersions(String fetchRevision) |
void |
doInWorkingDirectory(ChangeMetadata changeMetadata,
String previousVersion,
FileBasedProctorStore.ProctorUpdater updater) |
default void |
doInWorkingDirectory(String username,
String password,
String comment,
String previousVersion,
FileBasedProctorStore.ProctorUpdater updater)
Deprecated.
use ChangeMetadata
|
default void |
doInWorkingDirectory(String username,
String password,
String author,
String comment,
String previousVersion,
FileBasedProctorStore.ProctorUpdater updater)
Deprecated.
use ChangeMetadata
|
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.JsonProcessingException@Deprecated default void doInWorkingDirectory(String username, String password, String comment, String previousVersion, FileBasedProctorStore.ProctorUpdater updater) throws StoreException.TestUpdateException
@Deprecated default void doInWorkingDirectory(String username, String password, String author, String comment, String previousVersion, FileBasedProctorStore.ProctorUpdater updater) throws StoreException.TestUpdateException
void doInWorkingDirectory(ChangeMetadata changeMetadata, String previousVersion, FileBasedProctorStore.ProctorUpdater updater) throws StoreException.TestUpdateException
TestVersionResult determineVersions(String fetchRevision) throws StoreException.ReadException
StoreException.ReadExceptionString getAddTestRevision()
Copyright © 2022. All rights reserved.