hudson.plugins.violations.parse
Class BuildModelParser

java.lang.Object
  extended by hudson.plugins.violations.parse.AbstractParser
      extended by hudson.plugins.violations.parse.BuildModelParser

public class BuildModelParser
extends AbstractParser

Parses a violatios build xml report file.


Constructor Summary
BuildModelParser()
           
 
Method Summary
 BuildModelParser buildModel(BuildModel buildModel)
          Fluid setting of buildModel attribute.
protected  void execute()
          Parse the build model file.
 
Methods inherited from class hudson.plugins.violations.parse.AbstractParser
checkEvent, checkGetAttribute, checkGetInt, checkGetLong, checkNextEvent, checkNotBlank, endElement, expectNextTag, expectStartTag, getInt, getNextText, getParser, getSibTag, getString, setParser, skipTag, skipToTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildModelParser

public BuildModelParser()
Method Detail

buildModel

public BuildModelParser buildModel(BuildModel buildModel)
Fluid setting of buildModel attribute.

Parameters:
buildModel - the model to populate.
Returns:
this object.

execute

protected void execute()
                throws java.io.IOException,
                       org.xmlpull.v1.XmlPullParserException
Parse the build model file.

Specified by:
execute in class AbstractParser
Throws:
java.io.IOException - if there is an I/O problem.
org.xmlpull.v1.XmlPullParserException - if there is a parsing problem.


Copyright © 2004-2012. All Rights Reserved.