groovy.org.codenarc.rule
[Groovy] Class StubRule
java.lang.Object
java.org.codenarc.rule.AbstractRule
groovy.org.codenarc.rule.StubRule
class StubRule
extends AbstractRule
Stub implementation of the Rule interface for testing
- Authors:
- Chris Mair
|
Methods inherited from class AbstractRule
|
| applyTo, applyTo, createViolation, createViolation, createViolation, createViolation, createViolation, createViolationForImport, createViolationForImport, createViolationForImport, getApplyToFileNames, getApplyToFilesMatching, getCompilerPhase, getDescription, getDoNotApplyToFileNames, getDoNotApplyToFilesMatching, getName, getPriority, getViolationMessage, isEnabled, isReady, setApplyToFileNames, setApplyToFilesMatching, setDescription, setDoNotApplyToFileNames, setDoNotApplyToFilesMatching, setEnabled, setName, setPriority, setViolationMessage, toString, validate |
name
String name
-
priority
int priority
-
StubRule
StubRule()
-
StubRule
StubRule(int priority)
-
applyTo
@Override
void applyTo(SourceCode sourceCode, List violations)
-
Groovy Documentation