public static final class CSVParameterNameMappingParser.Builder extends AbstractCSVMappingParser.MemberBuilder
format
classNameColumn
Modifier and Type | Method | Description |
---|---|---|
CSVParameterNameMappingParser |
build(String targetNameColumn) |
Constructs a new CSV parameter name mapping parser based on the current builder
configuration.
|
CSVParameterNameMappingParser.Builder |
withClassNameColumn(String columnName) |
Selects the column in which the enclosing class name will be found.
|
CSVParameterNameMappingParser.Builder |
withFormat(org.apache.commons.csv.CSVFormat format) |
Selects a CSV format to rely upon when parsing file or stream contents.
|
CSVParameterNameMappingParser.Builder |
withMethodNameColumn(String columnName) |
Selects the column in which the method name will be found.
|
CSVParameterNameMappingParser.Builder |
withParameterIndexColumn(String columnName) |
Selects the column in which the original parameter index will be found.
|
CSVParameterNameMappingParser.Builder |
withParameterNameColumn(String columnName) |
Selects the column in which the original parameter name will be found.
|
CSVParameterNameMappingParser.Builder |
withSignatureColumn(String columnName) |
Selects the column in which the ASM signature for the method will be found.
|
@NonNull public CSVParameterNameMappingParser build(@NonNull String targetNameColumn)
targetNameColumn
- a target name column index.IllegalStateException
- when neither parameterNameColumn or parameterIndexColumn are
defined.@NonNull public CSVParameterNameMappingParser.Builder withClassNameColumn(@Nullable String columnName)
Selects the column in which the enclosing class name will be found.
If none is specified (e.g. this method is not called at all or null is passed), the resulting mapper will attempt to match a member based on any other configured factors).
withClassNameColumn
in class AbstractCSVMappingParser.MemberBuilder
columnName
- a column name.@NonNull public CSVParameterNameMappingParser.Builder withFormat(@NonNull org.apache.commons.csv.CSVFormat format)
withFormat
in class AbstractCSVMappingParser.Builder
format
- a CSV format.@NonNull public CSVParameterNameMappingParser.Builder withMethodNameColumn(@Nullable String columnName)
Selects the column in which the method name will be found.
If none is specified (e.g. this method is not called at all or null is passed), the resulting mapper will only evaluate whether or not the method name, class name and parameter name/index match (assuming that a class name and signature name index was configured).
columnName
- a column index.@NonNull public CSVParameterNameMappingParser.Builder withParameterIndexColumn(@Nullable String columnName)
columnName
- a column index.@NonNull public CSVParameterNameMappingParser.Builder withParameterNameColumn(@Nullable String columnName)
columnName
- a column index.@NonNull public CSVParameterNameMappingParser.Builder withSignatureColumn(@Nullable String columnName)
Selects the column in which the ASM signature for the method will be found.
If none is specified (e.g. this method is not called at all or null is passed), the resulting mapper will only evaluate whether or not the method name and class name match (assuming that a class name index was configured).
columnName
- a column index.Copyright © 2018 Basin. All rights reserved.