public interface DataReportService
| Modifier and Type | Method and Description |
|---|---|
void |
appendData(String driverId,
String test,
String run,
String sheetName,
String[] fieldNames,
String[] values)
Appends extra data for a test.run to a named sheet.
|
com.mongodb.DBCursor |
getData(String driverId,
String test,
String run,
String sheetName)
Returns a DB cursor for a test.run extra data sheet
|
List<String> |
getDescription(String driverId,
String test,
String run,
String sheetName)
Gets the column headers / description for a test.run data sheet
|
List<String> |
getNextValueRow(com.mongodb.DBCursor cursor)
Returns the next row with values or null if no more values.
|
String[] |
getSheetNames(String driverId,
String test,
String run)
Gets the extra data sheet names for a specific test.run
|
boolean |
isValueField(String fieldName)
checks if the field name is a user defined value field or a value field
|
void |
remove(String driverId,
String test,
String testRun)
Removes all data from the tables affecting to driver (if provided), test and test run (if provided).
|
void |
setDescription(String driverId,
String test,
String run,
String sheetName,
String[] fieldNames,
String[] description)
Updates the column names for the extra data for a test.run named sheet.
|
void appendData(String driverId, String test, String run, String sheetName, String[] fieldNames, String[] values)
driverId - (String, required) test driver IDtest - (String, required) name of the testrun - (String, required) name of the test runsheetName - (String, required) name of the extra data sheetfieldNames - (String [], required) field names of the values to writevalues - (String [], required) data to write to the extra data sheet
Note: fieldNames and values must have the same array size.void remove(String driverId, String test, String testRun)
driverId - (String, optional) Driver IDtest - (String, required) test nametestRun - (String, optional) test run namevoid setDescription(String driverId, String test, String run, String sheetName, String[] fieldNames, String[] description)
driverId - (String, required) test driver IDtest - (String, required) name of the testrun - (String, required) name of the test runsheetName - (String, required) name of the extra data sheetfieldNames - (String [], required) field names of the values to writedescription - (String [], required) data to write to the extra data sheet
Note: fieldNames and values must have the same array size.List<String> getDescription(String driverId, String test, String run, String sheetName)
driverId - (String, optional) test driver IDtest - (String, required) name of the testrun - (String, required) name of the test runsheetName - (String, required) name of the extra data sheetString[] getSheetNames(String driverId, String test, String run)
driverId - (String, optional) test driver IDtest - (String, required) name of the testrun - (String, required) name of the test runcom.mongodb.DBCursor getData(String driverId, String test, String run, String sheetName)
driverId - (String, optional) test driver IDtest - (String, required) name of the testrun - (String, required) name of the test runsheetName - (String, required) name of the extra data sheetisValueFieldboolean isValueField(String fieldName)
fieldName - (String, required) field name to validateCopyright © 2005–2018 Alfresco Software. All rights reserved.