|
||||||||||
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,
List<String> files,
File workspace)
Checks if all the finds files are new file |
List<String> |
findReports(XUnitToolInfo xUnitToolInfo,
File parentPath,
String pattern)
Gets all reports from the given parent path and the pattern. |
File |
getCurrentReport(File root,
String name)
Gets a file from a root file and a name |
boolean |
isEmptyPattern(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(String pattern)
pattern
- the given pattern of the current test tool
public List<String> findReports(XUnitToolInfo xUnitToolInfo, File parentPath, String pattern)
xUnitToolInfo
- the xunit tool wrapperparentPath
- parentpattern
- pattern to search files
public boolean checkIfFindsFilesNewFiles(XUnitToolInfo xUnitToolInfo, List<String> files, File workspace)
xUnitToolInfo
- the wrapped objectfiles
- the file listworkspace
- the root location of the file list
public File getCurrentReport(File root, 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 |