hudson.plugins.violations.types.fxcop
Class FxCopParser

java.lang.Object
  extended by hudson.plugins.violations.types.fxcop.FxCopParser
All Implemented Interfaces:
ViolationsParser

public class FxCopParser
extends java.lang.Object
implements ViolationsParser

Parses a fxcop xml report file. This does not uses the XML Pull parser as it can not handle the FxCop XML files. The bug is registered at Sun as http: //bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058


Constructor Summary
FxCopParser()
           
 
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

FxCopParser

public FxCopParser()
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.