interface Results
Represents the results of applying rules to one or more source files/directories
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract Results |
findResultsForPath(java.lang.String path)Return the Results object with the specified path within this results object or its descendents. |
|
abstract java.util.List |
getChildren()
|
|
abstract int |
getNumberOfFilesWithViolations(int maxPriority, boolean recursive)Return the number of files with violations |
|
abstract int |
getNumberOfViolationsWithPriority(int priority, boolean recursive)Return the number of violations with the specified priority |
|
abstract java.lang.String |
getPath()
|
|
abstract int |
getTotalNumberOfFiles(boolean recursive)Return the total number of (Groovy) files analyzed |
|
abstract java.util.List |
getViolations()
|
|
abstract boolean |
isFile()
|
|
abstract void |
removeViolation(Violation v)Remove the specified violation |
Return the Results object with the specified path within this results object or its descendents.
path - - the path to search for
Return the number of files with violations
maxPriority - - the maximum priority level; ignore violations with priority greater than thisrecursive - - true if the returned count should include subdirectories as wellReturn the number of violations with the specified priority
priority - - the priorityrecursive - - true if the returned count should include subdirectories as well
Return the total number of (Groovy) files analyzed
recursive - - true if the returned count should include subdirectories as well
Remove the specified violation
v - - the violation to remove