public class InputGherkinDataProvider extends CommonDataProvider implements DataInputProvider
CommonDataProvider.ResultColumnNamesDataProvider.typecolumns, dataInPath, dataOutPath, indexData, resultColumnName, scenarioName| Constructor and Description | 
|---|
InputGherkinDataProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
String[] | 
getExamples()
Gets prepared Gherkin examples. 
 | 
Class<Model> | 
getModel(String modelPackages) | 
int | 
getNbLines()
Gets the number of readable lines of current opened file. 
 | 
void | 
prepare(String scenario) | 
String[] | 
readLine(int line,
        boolean readResult) | 
String | 
readValue(String column,
         int line)
Reads a cell of opened input file. 
 | 
getIndexData, getNbGherkinExample, getResultColumnName, isResultColumnNameAuthorized, setDataInPath, setDataOutPath, setIndexData, writeDataResult, writeFailedResult, writeSuccessResult, writeValue, writeWarningResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIndexData, getNbGherkinExample, getResultColumnName, isResultColumnNameAuthorized, setDataInPath, setDataOutPath, setIndexDatapublic void prepare(String scenario) throws TechnicalException
prepare in interface DataProviderTechnicalExceptionpublic int getNbLines()
               throws TechnicalException
getNbLines in interface DataInputProviderTechnicalException - if Wrong data file (IOException, EmptyDataFileContentException or WrongDataFileFormatException)public String[] getExamples()
public String readValue(String column, int line) throws TechnicalException
readValue in interface DataInputProvidercolumn - index of the column to readline - index of the line to readTechnicalException - if Wrong data file (IOException, EmptyDataFileContentException or WrongDataFileFormatException)public String[] readLine(int line, boolean readResult) throws TechnicalException
readLine in interface DataInputProviderline - id of the line to read (line=0 for reading headers ; line=1 for reading 1st line, ...)readResult - true if result must be returned, false otherwiseTechnicalException - if Wrong data file (IOException, EmptyDataFileContentException or WrongDataFileFormatException)public Class<Model> getModel(String modelPackages) throws TechnicalException
getModel in interface DataProvidergetModel in class CommonDataProvidermodelPackages - 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)Copyright © 2023 NoraUi. All rights reserved.