|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.violations.types.pylint.PyLintParser
public class PyLintParser
Parser for parsing PyLint reports. The parser only supports PyLint report that has the output format 'parseable'.
| Constructor Summary | |
|---|---|
PyLintParser()
Constructor - create the pattern. |
|
| Method Summary | |
|---|---|
void |
parse(FullBuildModel model,
java.io.File projectPath,
java.lang.String fileName,
java.lang.String[] sourcePaths)
Parse a violations file. |
void |
parseLine(FullBuildModel model,
java.lang.String line,
java.io.File projectPath)
Parses a PyLint line and adding a violation if regex |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PyLintParser()
| Method Detail |
|---|
public void parse(FullBuildModel model,
java.io.File projectPath,
java.lang.String fileName,
java.lang.String[] sourcePaths)
throws java.io.IOException
parse in interface ViolationsParsermodel - the model to store the violations in.projectPath - the project path used for resolving paths.fileName - the name of the violations file to parse
(relative to the projectPath).sourcePaths - a list of source paths to resolve classes against
java.io.IOException - if there is an error.
public void parseLine(FullBuildModel model,
java.lang.String line,
java.io.File projectPath)
model - build model to add violations toline - the line in the file.projectPath - the path to use to resolve the file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||