hudson.plugins.violations.types.stylecop
Class StyleCopParser
java.lang.Object
hudson.plugins.violations.types.stylecop.StyleCopParser
- All Implemented Interfaces:
- ViolationsParser
public class StyleCopParser
- extends Object
- implements ViolationsParser
Parses a StyleCop (http://code.msdn.microsoft.com/sourceanalysis/) xml report file.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StyleCopParser
public StyleCopParser()
parse
public void parse(FullBuildModel model,
File projectPath,
String fileName,
String[] sourcePaths)
throws IOException
- Description copied from interface:
ViolationsParser
- Parse a violations file.
- Specified by:
parse in interface ViolationsParser
- 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.