Package io.cucumber.core.options
Class CommandlineOptionsParser
java.lang.Object
io.cucumber.core.options.CommandlineOptionsParser
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate @Nullable Byteprivate static final Loggerprivate final PrintWriterprivate static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidprivate intfindWidest(Collection<io.cucumber.gherkin.GherkinDialect> dialects, Function<io.cucumber.gherkin.GherkinDialect, String> getNativeName) private Stringprivate RuntimeOptionsBuilderprivate voidprintDialect(io.cucumber.gherkin.GherkinDialect dialect, int widestLanguage, int widestName, int widestNativeName) private byteprivate byteprintI18nKeywords(String language) private byteprivate voidprintKeywordsFor(io.cucumber.gherkin.GherkinDialect dialect) private voidprivate StringremoveArgFor(String arg, List<String> args) private String
-
Field Details
-
log
-
CORE_VERSION
-
USAGE_RESOURCE
- See Also:
-
out
-
exitCode
-
-
Constructor Details
-
CommandlineOptionsParser
-
-
Method Details
-
exitStatus
-
parse
-
parse
-
printUsage
private void printUsage() -
removeArgFor
-
printI18n
-
printI18nLanguages
private byte printI18nLanguages() -
printI18nKeywords
-
loadUsageText
-
findWidest
private int findWidest(Collection<io.cucumber.gherkin.GherkinDialect> dialects, Function<io.cucumber.gherkin.GherkinDialect, String> getNativeName) -
printDialect
private void printDialect(io.cucumber.gherkin.GherkinDialect dialect, int widestLanguage, int widestName, int widestNativeName) -
printKeywordsFor
private void printKeywordsFor(io.cucumber.gherkin.GherkinDialect dialect) -
rightPad
-
addKeywordRow
-
addCodeKeywordRow
-