hudson.plugins.violations.parse
Class ParseTypeXML

java.lang.Object
  extended by hudson.plugins.violations.parse.ParseTypeXML

public class ParseTypeXML
extends java.lang.Object

Parse a violation type xml file.


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

Constructor Detail

ParseTypeXML

public ParseTypeXML()
Method Detail

parse

public void parse(FullBuildModel model,
                  java.io.File projectPath,
                  java.lang.String xmlFile,
                  java.lang.String[] sourcePaths,
                  AbstractTypeParser typeParser)
           throws java.io.IOException
Parse a xml violation file.

Parameters:
model - the model to store the violations in.
projectPath - the project path used for resolving paths.
xmlFile - the xml file to parse.
typeParser - the parser to use.
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.