public class ResultsDbWriter extends Object implements ResultsWriter
| Modifier and Type | Class and Description |
|---|---|
static class |
ResultsDbWriter.Clock |
| Modifier and Type | Field and Description |
|---|---|
static String |
DRIVER_NAME |
static String |
URL |
| Constructor and Description |
|---|
ResultsDbWriter(Context context,
String runId) |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
end() |
String |
getRunId() |
String |
toString() |
void |
writeResults(ResultsForAllTests results,
String testName) |
public static final String DRIVER_NAME
public static final String URL
public ResultsDbWriter(Context context, String runId)
runId - may be null, in which case a default value is chosen based on current GMT timecontext - must contain environment entries "jdbcDriverClass" and "jdbcUrl".public String getRunId()
public void begin()
begin in interface ResultsWriterpublic void writeResults(ResultsForAllTests results, String testName)
writeResults in interface ResultsWriterpublic void end()
end in interface ResultsWriterCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.