|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
interface Rule
Represents a source code analysis rule
Method Summary | |
---|---|
List
|
applyTo(SourceCode sourceCode)
Apply this rule to the specified source and return a list of violations (or an empty List) |
String
|
getName()
@return the unique id for this rule |
int
|
getPriority()
@return the priority of this rule; must be 1, 2 or 3 |
Method Detail |
---|
List applyTo(SourceCode sourceCode)
source
- - the source to apply this rule to
String getName()
int getPriority()
Groovy Documentation