org.codenarc.results
Class VirtualResults
java.lang.Object
org.codenarc.results.VirtualResults
- All Implemented Interfaces:
- groovy.lang.GroovyObject, Results
public class VirtualResults
- extends java.lang.Object
- implements Results, groovy.lang.GroovyObject
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VirtualResults
public VirtualResults(java.util.List violations)
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
invokeMethod
public java.lang.Object invokeMethod(java.lang.String method,
java.lang.Object arguments)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
getProperty
public java.lang.Object getProperty(java.lang.String property)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
setProperty
public void setProperty(java.lang.String property,
java.lang.Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
getViolations
public java.util.List getViolations()
setViolations
public void setViolations(java.util.List value)
getPath
public java.lang.String getPath()
- Specified by:
getPath
in interface Results
getChildren
public java.util.List getChildren()
- Specified by:
getChildren
in interface Results
getViolationsWithPriority
public java.util.List getViolationsWithPriority(int priority)
- Specified by:
getViolationsWithPriority
in interface Results
getNumberOfViolationsWithPriority
public int getNumberOfViolationsWithPriority(int priority,
boolean recursive)
- Specified by:
getNumberOfViolationsWithPriority
in interface Results
getTotalNumberOfFiles
public int getTotalNumberOfFiles(boolean recursive)
- Specified by:
getTotalNumberOfFiles
in interface Results
getNumberOfFilesWithViolations
public int getNumberOfFilesWithViolations(boolean recursive)
- Specified by:
getNumberOfFilesWithViolations
in interface Results
isFile
public boolean isFile()
- Specified by:
isFile
in interface Results
findResultsForPath
public Results findResultsForPath(java.lang.String path)
- Specified by:
findResultsForPath
in interface Results
Copyright © 2011. All Rights Reserved.