hudson.plugins.violations.generate
Class GenerateXML

java.lang.Object
  extended by hudson.plugins.violations.generate.GenerateXML

public class GenerateXML
extends java.lang.Object

Generate the xml files for a publish invocation.


Constructor Summary
GenerateXML(hudson.FilePath targetDir, FullBuildModel model, ViolationsConfig config)
          Create and configure the GenerateXML object.
 
Method Summary
 void execute()
          Write out the files.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenerateXML

public GenerateXML(hudson.FilePath targetDir,
                   FullBuildModel model,
                   ViolationsConfig config)
Create and configure the GenerateXML object.

Parameters:
targetDir - the directory to place the files in.
model - the full build model to write out.
config - the current configuration, used for limiting the violations per file written out.
Method Detail

execute

public void execute()
             throws java.io.IOException,
                    java.lang.InterruptedException
Write out the files.

Throws:
java.io.IOException - if there is a problem writing the files.
java.lang.InterruptedException - if there is a problem with the targetDir.


Copyright © 2004-2012. All Rights Reserved.