Package com.qulice.checkstyle
Class CheckstyleValidator
java.lang.Object
com.qulice.checkstyle.CheckstyleValidator
- All Implemented Interfaces:
ResourceValidator
Validator with Checkstyle.
- Since:
- 0.3
- Suppressed Checkstyle violations:
- ClassDataAbstractionCoupling (260 lines)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNonExcludedFiles(Collection<File> files) Filters out excluded files from further validation.name()Name of this validator.validate(Collection<File> files) Validate and throws exception if there are any problems.
-
Constructor Details
-
CheckstyleValidator
Constructor.- Parameters:
env- Environment to use
-
-
Method Details
-
validate
Description copied from interface:ResourceValidatorValidate and throws exception if there are any problems.- Specified by:
validatein interfaceResourceValidator- Parameters:
files- Files to validate- Returns:
- Validation results
-
name
Description copied from interface:ResourceValidatorName of this validator.- Specified by:
namein interfaceResourceValidator- Returns:
- Name of this validator
-
getNonExcludedFiles
Filters out excluded files from further validation.- Parameters:
files- Files to validate- Returns:
- List of relevant files
-