Class FailsafeSummaryXmlUtils
- java.lang.Object
-
- org.apache.maven.plugin.failsafe.util.FailsafeSummaryXmlUtils
-
public final class FailsafeSummaryXmlUtils extends java.lang.Object
- Since:
- 2.20
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
FAILSAFE_SUMMARY_XML_SCHEMA_LOCATION
private static java.lang.String
FAILSAFE_SUMMARY_XML_TEMPLATE
private static java.lang.String
MESSAGE_ELEMENT
private static java.lang.String
MESSAGE_NIL_ELEMENT
-
Constructor Summary
Constructors Modifier Constructor Description private
FailsafeSummaryXmlUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
fromRunResultToFile(RunResult fromRunResult, java.io.File toFailsafeSummaryXml)
static RunResult
toRunResult(java.io.File failsafeSummaryXml)
static void
writeSummary(RunResult mergedSummary, java.io.File mergedSummaryFile, boolean inProgress)
-
-
-
Field Detail
-
FAILSAFE_SUMMARY_XML_SCHEMA_LOCATION
private static final java.lang.String FAILSAFE_SUMMARY_XML_SCHEMA_LOCATION
- See Also:
- Constant Field Values
-
MESSAGE_NIL_ELEMENT
private static final java.lang.String MESSAGE_NIL_ELEMENT
- See Also:
- Constant Field Values
-
MESSAGE_ELEMENT
private static final java.lang.String MESSAGE_ELEMENT
- See Also:
- Constant Field Values
-
FAILSAFE_SUMMARY_XML_TEMPLATE
private static final java.lang.String FAILSAFE_SUMMARY_XML_TEMPLATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
toRunResult
public static RunResult toRunResult(java.io.File failsafeSummaryXml) throws java.lang.Exception
- Throws:
java.lang.Exception
-
fromRunResultToFile
public static void fromRunResultToFile(RunResult fromRunResult, java.io.File toFailsafeSummaryXml) throws java.io.IOException
- Throws:
java.io.IOException
-
writeSummary
public static void writeSummary(RunResult mergedSummary, java.io.File mergedSummaryFile, boolean inProgress) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-