Uses of Class
com.puppycrawl.tools.checkstyle.Main.CliOptions
Package
Description
Contains the implementation of the Checkstyle framework.
-
Uses of Main.CliOptions in com.puppycrawl.tools.checkstyle
Modifier and TypeMethodDescriptionprivate static int
Main.execute
(picocli.CommandLine.ParseResult parseResult, Main.CliOptions options) Validates the user input and returns -1 if invalid, otherwise executes CheckStyle and returns the number of violations.Main.getFilesToProcess
(Main.CliOptions options) Determines the files to process.private static int
Main.runCheckstyle
(Main.CliOptions options, List<File> filesToProcess) Executes required Checkstyle actions based on passed parameters.private static int
Main.runCli
(Main.CliOptions options, List<File> filesToProcess) Do execution of CheckStyle based on Command line options.