com.thalesgroup.hudson.plugins.xunit.service
Class XUnitConversionService

java.lang.Object
  extended by com.thalesgroup.hudson.plugins.xunit.service.XUnitService
      extended by com.thalesgroup.hudson.plugins.xunit.service.XUnitConversionService
All Implemented Interfaces:
Serializable

public class XUnitConversionService
extends XUnitService
implements Serializable

See Also:
Serialized Form

Constructor Summary
XUnitConversionService()
           
 
Method Summary
 File convert(XUnitToolInfo xUnitToolInfo, File inputFile, File workspace, File junitOutputDirectory)
          Converts the inputFile into a JUnit output file
 
Methods inherited from class com.thalesgroup.hudson.plugins.xunit.service.XUnitService
errorSystemLogger, infoSystemLogger, warningSystemLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XUnitConversionService

public XUnitConversionService()
Method Detail

convert

public File convert(XUnitToolInfo xUnitToolInfo,
                    File inputFile,
                    File workspace,
                    File junitOutputDirectory)
             throws XUnitException
Converts the inputFile into a JUnit output file

Parameters:
xUnitToolInfo - the xUnit info wrapper object
inputFile - the input file to be converted
workspace - the workspace
junitOutputDirectory - the output parent directory that contains the JUnit output file
Returns:
the converted file
Throws:
XUnitException - an XUnitException is thrown if there is a conversion error.


Copyright © 2004-2012. All Rights Reserved.