Interface CheckstyleResult
- All Superinterfaces:
FaultAware, Resource
- All Known Implementing Classes:
DefaultCheckstyleResult
Provides the results from running checkstyle.
-
Method Summary
Modifier and TypeMethodDescriptionlongchecked()Returns the number of checked files.longerrors()Returns the number of style violations with error severity.static CheckstyleResultof(Project project, ResourceProvider provider, long checked, long errors, long warnings) Creates a new checkstyle result from the given values.project()The project that was checked.longwarnings()Returns the number of style violations with warning severity.Methods inherited from interface FaultAware
isFaulty, setFaultyMethods inherited from interface Resource
asOf, asOfLocalized, cleanup, isNewerThan, name, type
-
Method Details
-
project
-
checked
-
errors
-
warnings
-
of
static CheckstyleResult of(Project project, ResourceProvider provider, long checked, long errors, long warnings) Creates a new checkstyle result from the given values.- Parameters:
project- the projectprovider- the providerchecked- the number of checked fileserrors- the number of style violations with error severitywarnings- the number of style violations with warning severity- Returns:
- the checkstyle result
-