hudson.plugins.violations.types.gendarme
Class GendarmeParser

java.lang.Object
  extended by hudson.plugins.violations.types.gendarme.GendarmeParser
All Implemented Interfaces:
ViolationsParser

public class GendarmeParser
extends java.lang.Object
implements ViolationsParser

Parse Gendarme violations

Author:
mathias.kluba@gmail.com

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

GendarmeParser

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