|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
interface Results
Represents the results of applying rules to one or more source files/directories
Method Summary | |
---|---|
Results
|
findResultsForPath(String path)
Return the Results object with the specified path within this results object or its descendents. |
List
|
getChildren()
@return the List of child Results objects; may be empty |
int
|
getNumberOfFilesWithViolations(boolean recursive)
Return the number of files with violations |
int
|
getNumberOfViolationsWithPriority(int priority, boolean recursive)
Return the number of violations with the specified priority |
String
|
getPath()
@return the path to the file or directory associated with these results |
int
|
getTotalNumberOfFiles(boolean recursive)
Return the total number of (Groovy) files analyzed |
List
|
getViolationsWithPriority(int priority)
Return the List of violations with the specified priority |
boolean
|
isFile()
@return true only if this object represents the results for a single file |
Method Detail |
---|
Results findResultsForPath(String path)
path
- - the path to search for
List getChildren()
int getNumberOfFilesWithViolations(boolean recursive)
recursive
- - true if the returned count should include subdirectories as well
int getNumberOfViolationsWithPriority(int priority, boolean recursive)
priority
- - the priorityrecursive
- - true if the returned count should include subdirectories as well
String getPath()
int getTotalNumberOfFiles(boolean recursive)
recursive
- - true if the returned count should include subdirectories as well
List getViolationsWithPriority(int priority)
priority
- - the priority
boolean isFile()
Groovy Documentation