Class CSVColumnMapper
- java.lang.Object
-
- com.hello2morrow.sonargraph.integration.jenkins.persistence.CSVColumnMapper
-
public final class CSVColumnMapper extends Object
Maps column names to index of column. There are 2 predefined columns: buildnumber and timestamp. There may be existing column names (from an existing csv file). And there may be additional metric/column names from MetricMetaData.- Author:
- andreas
-
-
Constructor Summary
Constructors Constructor Description CSVColumnMapper(com.hello2morrow.sonargraph.integration.access.model.IExportMetaData metricMetaData, String... existingColumnNames)
CSVColumnMapper(MetricIds metricMetaData, String... existingColumnNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getColumnNames(boolean metricOnly)
int
getIndex(String columnName)
-