public class TestStateStorage extends java.lang.Object implements Disposable
Modifier and Type | Class and Description |
---|---|
static class |
TestStateStorage.Record |
Disposable.Parent
Constructor and Description |
---|
TestStateStorage(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
static TestStateStorage |
getInstance(Project project) |
java.util.Collection<java.lang.String> |
getKeys() |
java.util.Map<java.lang.String,TestStateStorage.Record> |
getRecentTests(int limit,
java.util.Date since) |
TestStateStorage.Record |
getState(java.lang.String testUrl) |
static java.io.File |
getTestHistoryRoot(Project project) |
void |
removeState(java.lang.String url) |
void |
writeState(java.lang.String testUrl,
TestStateStorage.Record record) |
public TestStateStorage(Project project)
public static java.io.File getTestHistoryRoot(Project project)
public static TestStateStorage getInstance(Project project)
public java.util.Collection<java.lang.String> getKeys()
public TestStateStorage.Record getState(java.lang.String testUrl)
public void removeState(java.lang.String url)
public java.util.Map<java.lang.String,TestStateStorage.Record> getRecentTests(int limit, java.util.Date since)
public void writeState(java.lang.String testUrl, TestStateStorage.Record record)
public void dispose()
Disposable
dispose
in interface Disposable