|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.thalesgroup.hudson.plugins.xunit.service.XUnitService
com.thalesgroup.hudson.plugins.xunit.service.XUnitReportProcessorService
public class XUnitReportProcessorService
Constructor Summary | |
---|---|
XUnitReportProcessorService()
|
Method Summary | |
---|---|
boolean |
checkIfFindsFilesNewFiles(XUnitToolInfo xUnitToolInfo,
java.util.List<java.lang.String> files,
java.io.File workspace)
Checks if all the finds files are new file |
java.util.List<java.lang.String> |
findReports(XUnitToolInfo xUnitToolInfo,
java.io.File parentPath,
java.lang.String pattern)
Gets all reports from the given parent path and the pattern. |
java.io.File |
getCurrentReport(java.io.File root,
java.lang.String name)
Gets a file from a root file and a name |
boolean |
isEmptyPattern(java.lang.String pattern)
Tests if the pattern is empty. |
boolean |
isStopProcessingIfError(XUnitToolInfo xUnitToolInfo)
Check if we stop the processing for an error |
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 |
---|
public XUnitReportProcessorService()
Method Detail |
---|
public boolean isEmptyPattern(java.lang.String pattern)
pattern
- the given pattern of the current test tool
public java.util.List<java.lang.String> findReports(XUnitToolInfo xUnitToolInfo, java.io.File parentPath, java.lang.String pattern)
xUnitToolInfo
- the xunit tool wrapperparentPath
- parentpattern
- pattern to search files
public boolean checkIfFindsFilesNewFiles(XUnitToolInfo xUnitToolInfo, java.util.List<java.lang.String> files, java.io.File workspace)
xUnitToolInfo
- the wrapped objectfiles
- the file listworkspace
- the root location of the file list
public java.io.File getCurrentReport(java.io.File root, java.lang.String name)
root
- the root pathname
- the filename
public boolean isStopProcessingIfError(XUnitToolInfo xUnitToolInfo)
xUnitToolInfo
- the wrapped object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |