hudson.plugins.violations.generate
Class OutputFileModel

java.lang.Object
  extended by hudson.plugins.violations.generate.OutputFileModel
All Implemented Interfaces:
Execute

public class OutputFileModel
extends java.lang.Object
implements Execute

Class to output a file model.


Constructor Summary
OutputFileModel(FullFileModel fileModel, ViolationsConfig config)
          Create a class to output a file model.
 
Method Summary
 void execute(java.io.PrintWriter w)
          Output the file model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputFileModel

public OutputFileModel(FullFileModel fileModel,
                       ViolationsConfig config)
Create a class to output a file model.

Parameters:
fileModel - the model to output.
config - the configuration - used to suppress outputting violations.
Method Detail

execute

public void execute(java.io.PrintWriter w)
             throws java.io.IOException
Output the file model.

Specified by:
execute in interface Execute
Parameters:
w - the output writer.
Throws:
java.io.IOException - if there is a problem.


Copyright © 2004-2012. All Rights Reserved.