hudson.plugins.violations.types.stylecop
Class StyleCopParser

java.lang.Object
  extended by hudson.plugins.violations.types.stylecop.StyleCopParser
All Implemented Interfaces:
ViolationsParser

public class StyleCopParser
extends java.lang.Object
implements ViolationsParser

Parses a StyleCop (http://code.msdn.microsoft.com/sourceanalysis/) xml report file.


Constructor Summary
StyleCopParser()
           
 
Method Summary
 void parse(FullBuildModel model, java.io.File projectPath, java.lang.String fileName, java.lang.String[] sourcePaths)
          Parse a violations file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleCopParser

public StyleCopParser()
Method Detail

parse

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


Copyright © 2004-2012. All Rights Reserved.