Constructor and Description |
---|
VirtualResults(List violations) |
Modifier and Type | Method and Description |
---|---|
Results |
findResultsForPath(String path) |
List |
getChildren() |
groovy.lang.MetaClass |
getMetaClass() |
int |
getNumberOfFilesWithViolations(int maxPriority,
boolean recursive) |
int |
getNumberOfViolationsWithPriority(int priority,
boolean recursive) |
String |
getPath() |
Object |
getProperty(String property) |
int |
getTotalNumberOfFiles(boolean recursive) |
List |
getViolations() |
Object |
invokeMethod(String method,
Object arguments) |
boolean |
isFile() |
void |
removeViolation(Violation v) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public VirtualResults(List violations)
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public List getViolations()
getViolations
in interface Results
public List getChildren()
getChildren
in interface Results
public void removeViolation(Violation v)
removeViolation
in interface Results
public int getNumberOfViolationsWithPriority(int priority, boolean recursive)
getNumberOfViolationsWithPriority
in interface Results
public int getTotalNumberOfFiles(boolean recursive)
getTotalNumberOfFiles
in interface Results
public int getNumberOfFilesWithViolations(int maxPriority, boolean recursive)
getNumberOfFilesWithViolations
in interface Results
public Results findResultsForPath(String path)
findResultsForPath
in interface Results
Copyright © 2022. All rights reserved.