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)
ExamplesTable
withNamedParameters(Map<String,String> namedParameters)
ExamplesTable
withRows(List<Map<String,String>> rows)
ExamplesTable
withRowValues(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:
getHeaders
in classExamplesTable
-
getRow
public Map<String,String> getRow(int rowIndex)
- Overrides:
getRow
in classExamplesTable
-
withNamedParameters
public ExamplesTable withNamedParameters(Map<String,String> namedParameters)
- Overrides:
withNamedParameters
in classExamplesTable
-
withRowValues
public ExamplesTable withRowValues(int rowIndex, Map<String,String> values)
- Overrides:
withRowValues
in classExamplesTable
-
withRows
public ExamplesTable withRows(List<Map<String,String>> rows)
- Overrides:
withRows
in classExamplesTable
-
-