hudson.plugins.ccm.model
Class CCMParser

java.lang.Object
  extended by hudson.plugins.ccm.model.CCMParser
All Implemented Interfaces:
hudson.FilePath.FileCallable<CCMReport>, java.io.Serializable

public class CCMParser
extends java.lang.Object
implements hudson.FilePath.FileCallable<CCMReport>

Parser of the output of CCM.exe. In the first version we used XStream. But when a project has 10000 methods the DOM parser would degrade the overall performance. Then we changed to a SAX Parser. Sweet as!

Since:
16/08/2010
Author:
Bruno P. Kinoshita - http://www.kinoshita.eti.br
See Also:
Serialized Form

Constructor Summary
CCMParser(java.io.PrintStream logger)
           
 
Method Summary
 CCMReport invoke(java.io.File workspace, hudson.remoting.VirtualChannel channel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CCMParser

public CCMParser(java.io.PrintStream logger)
Method Detail

invoke

public CCMReport invoke(java.io.File workspace,
                        hudson.remoting.VirtualChannel channel)
                 throws java.io.IOException,
                        java.lang.InterruptedException
Specified by:
invoke in interface hudson.FilePath.FileCallable<CCMReport>
Throws:
java.io.IOException
java.lang.InterruptedException


Copyright © 2010. All Rights Reserved.