hudson.plugins.violations
Interface ViolationsParser

All Known Implementing Classes:
AbstractTypeParser, CheckstyleParser, CodenarcParser, CPDParser, CppLintParser, CssLintParser, FindBugsParser, FxCopParser, GendarmeParser, JcReportParser, JsLintParser, Pep8Parser, PMDParser, PyLintParser, SimianParser, StyleCopParser, ViolationsDOMParser

public interface ViolationsParser

Interface that violations parsers need to implement.


Method Summary
 void parse(FullBuildModel model, File projectPath, String fileName, String[] sourcePaths)
          Parse a violations file.
 

Method Detail

parse

void parse(FullBuildModel model,
           File projectPath,
           String fileName,
           String[] sourcePaths)
           throws IOException
Parse a violations file.

Parameters:
model - 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
Throws:
IOException - if there is an error.


Copyright © 2004-2012 Hudson. All Rights Reserved.