com.thalesgroup.hudson.plugins.xunit.transformer
Class XUnitTransformer

java.lang.Object
  extended by com.thalesgroup.hudson.plugins.xunit.transformer.XUnitTransformer
All Implemented Interfaces:
hudson.FilePath.FileCallable<java.lang.Boolean>, java.io.Serializable

public class XUnitTransformer
extends java.lang.Object
implements hudson.FilePath.FileCallable<java.lang.Boolean>, java.io.Serializable

See Also:
Serialized Form

Field Summary
static java.lang.String JUNIT_FILE_POSTFIX
           
static java.lang.String JUNIT_FILE_PREFIX
           
 
Constructor Summary
XUnitTransformer(hudson.model.BuildListener listener, java.io.File junitOuputDir, long buildTime, com.thalesgroup.dtkit.metrics.hudson.api.type.TestType[] types)
           
 
Method Summary
 java.lang.Boolean invoke(java.io.File ws, hudson.remoting.VirtualChannel channel)
          Invocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JUNIT_FILE_POSTFIX

public static final java.lang.String JUNIT_FILE_POSTFIX
See Also:
Constant Field Values

JUNIT_FILE_PREFIX

public static final java.lang.String JUNIT_FILE_PREFIX
See Also:
Constant Field Values
Constructor Detail

XUnitTransformer

public XUnitTransformer(hudson.model.BuildListener listener,
                        java.io.File junitOuputDir,
                        long buildTime,
                        com.thalesgroup.dtkit.metrics.hudson.api.type.TestType[] types)
Method Detail

invoke

public java.lang.Boolean invoke(java.io.File ws,
                                hudson.remoting.VirtualChannel channel)
                         throws java.io.IOException
Invocation

Specified by:
invoke in interface hudson.FilePath.FileCallable<java.lang.Boolean>
Parameters:
ws - the Hudson workspace
channel - the Hudson chanel
Returns:
true or false if the convertion fails
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.