public interface DataProvider
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
DataProvider.type  | 
| Modifier and Type | Method and Description | 
|---|---|
DataIndex | 
getIndexData(int dataLine)
get IndexData in case of serial data. 
 | 
Class<Model> | 
getModel(String modelPackagesCsv)  | 
int | 
getNbGherkinExample()  | 
String | 
getResultColumnName()
Getter of resultName column name. 
 | 
boolean | 
isResultColumnNameAuthorized(String name)
Returns true if the given column name is part of authorized column names. 
 | 
void | 
prepare(String scenario)  | 
void | 
setDataInPath(String dataInPath)
Setter of dataInPath. 
 | 
void | 
setDataOutPath(String dataOutPath)
Setter of dataOutPath. 
 | 
void | 
setIndexData(List<DataIndex> indexData)
set IndexData in case of serial data. 
 | 
void prepare(String scenario) throws TechnicalException
TechnicalExceptionint getNbGherkinExample()
Class<Model> getModel(String modelPackagesCsv) throws TechnicalException
modelPackagesCsv - The list of available package in which to search for a valid Model (in CSV format with ; separator).TechnicalException - if Wrong data file (IOException, EmptyDataFileContentException or WrongDataFileFormatException)void setIndexData(List<DataIndex> indexData)
indexData - is a array of index in case of serial data.DataIndex getIndexData(int dataLine)
dataLine - is index of line in case of serial data.void setDataInPath(String dataInPath)
dataInPath - the new data in pathvoid setDataOutPath(String dataOutPath)
dataOutPath - the new data out pathString getResultColumnName()
boolean isResultColumnNameAuthorized(String name)
CommonDataProvider.ResultColumnNames class.name - the name to checkCopyright © 2023 NoraUi. All rights reserved.