Package io.cucumber.core.options
Class CucumberPropertiesParser
java.lang.Object
io.cucumber.core.options.CucumberPropertiesParser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(CucumberPropertiesProvider properties) private <T> voidparse(CucumberPropertiesProvider properties, String propertyName, Function<String, T> parser, Consumer<T> setter) private <T> voidparseAll(CucumberPropertiesProvider properties, String propertyName, Function<String, Collection<T>> parser, Consumer<T> setter) private static <T> Function<String, Collection<T>> splitAndMap(Function<String, T> parse) private static voidwarnWhenCucumberOptionsIsUsed(String commandLineOptions)
-
Field Details
-
log
-
-
Constructor Details
-
CucumberPropertiesParser
public CucumberPropertiesParser()
-
-
Method Details
-
parse
-
parse
-
warnWhenCucumberOptionsIsUsed
-
parse
private <T> void parse(CucumberPropertiesProvider properties, String propertyName, Function<String, T> parser, Consumer<T> setter) -
parseAll
private <T> void parseAll(CucumberPropertiesProvider properties, String propertyName, Function<String, Collection<T>> parser, Consumer<T> setter) -
splitAndMap
-