Package org.jbehave.core.model
Class ImmutableExamplesTable
- java.lang.Object
-
- org.jbehave.core.model.ExamplesTable
-
- org.jbehave.core.model.ImmutableExamplesTable
-
public final class ImmutableExamplesTable extends ExamplesTable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jbehave.core.model.ExamplesTable
ExamplesTable.ColumnNotFound, ExamplesTable.NonDistinctColumnFound, ExamplesTable.RowNotFound, ExamplesTable.TableProperties, ExamplesTable.TableRows
-
-
Field Summary
-
Fields inherited from class org.jbehave.core.model.ExamplesTable
EMPTY, INLINED_PROPERTIES_PATTERN
-
-
Constructor Summary
Constructors Constructor Description ImmutableExamplesTable(String tableAsString)
-
Method Summary
Modifier and Type Method Description List<String>getHeaders()Map<String,String>getRow(int rowIndex)ExamplesTablewithNamedParameters(Map<String,String> namedParameters)ExamplesTablewithRows(List<Map<String,String>> rows)ExamplesTablewithRowValues(int rowIndex, Map<String,String> values)-
Methods inherited from class org.jbehave.core.model.ExamplesTable
asString, empty, getColumn, getColumn, getHeaderSeparator, getProperties, getPropertiesAsString, getRow, getRowAsParameters, getRowAsParameters, getRowCount, getRows, getRowsAs, getRowsAs, getRowsAsParameters, getRowsAsParameters, getRowValues, getRowValues, getValueSeparator, isEmpty, metaByRow, outputTo, toString, withDefaults
-
-
-
-
Constructor Detail
-
ImmutableExamplesTable
public ImmutableExamplesTable(String tableAsString)
-
-
Method Detail
-
getHeaders
public List<String> getHeaders()
- Overrides:
getHeadersin classExamplesTable
-
getRow
public Map<String,String> getRow(int rowIndex)
- Overrides:
getRowin classExamplesTable
-
withNamedParameters
public ExamplesTable withNamedParameters(Map<String,String> namedParameters)
- Overrides:
withNamedParametersin classExamplesTable
-
withRowValues
public ExamplesTable withRowValues(int rowIndex, Map<String,String> values)
- Overrides:
withRowValuesin classExamplesTable
-
withRows
public ExamplesTable withRows(List<Map<String,String>> rows)
- Overrides:
withRowsin classExamplesTable
-
-