hudson.plugins.violations
Interface ViolationsParser

All Known Implementing Classes:
AbstractTypeParser, CheckstyleParser, CPDParser, FindBugsParser, FxCopParser, PMDParser, PyLintParser, SimianParser, StyleCopParser, ViolationsDOMParser

public interface ViolationsParser

Interface that violations parsers need to implement.


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

Method Detail

parse

void parse(FullBuildModel model,
           java.io.File projectPath,
           java.lang.String fileName,
           java.lang.String[] sourcePaths)
           throws java.io.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:
java.io.IOException - if there is an error.


Copyright © 2008. All Rights Reserved.