com.neotys.nl.controller.report.transform
Class NeoLoadReportDoc
java.lang.Object
com.neotys.nl.controller.report.transform.NeoLoadReportDoc
public class NeoLoadReportDoc
- extends Object
A wrapper for an xml document.
- Author:
- ajohnson
|
Field Summary |
static Date |
DATE_1970
A default return value when a valid date can't be found (January 1, 1970, 00:00:00 GMT). |
static String |
STANDARD_TIME_FORMAT
A time format that is used for all languages in the context of this plugin. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATE_1970
public static final Date DATE_1970
- A default return value when a valid date can't be found (January 1, 1970, 00:00:00 GMT).
STANDARD_TIME_FORMAT
public static final String STANDARD_TIME_FORMAT
- A time format that is used for all languages in the context of this plugin.
- See Also:
- Constant Field Values
NeoLoadReportDoc
public NeoLoadReportDoc(String xmlFilePath)
- Constructor.
- Parameters:
xmlFilePath -
- Throws:
ParserConfigurationException
SAXException
IOException
NeoLoadReportDoc
public NeoLoadReportDoc(Document doc)
isValidReportDoc
public boolean isValidReportDoc()
throws XPathExpressionException
- Returns:
- true if this is a valid NeoLoad report document. false otherwise.
- Throws:
XPathExpressionException
getAverageResponseTime
public Float getAverageResponseTime()
throws XPathExpressionException
- Returns:
-
- Throws:
XPathExpressionException
getErrorRatePercentage
public Float getErrorRatePercentage()
throws XPathExpressionException
- Returns:
-
- Throws:
XPathExpressionException
getDoc
public Document getDoc()
- Returns:
- the doc
hasCorrespondingDate
public boolean hasCorrespondingDate(hudson.model.AbstractBuild<?,?> build)
throws XPathExpressionException
- Parameters:
cal -
- Returns:
-
- Throws:
XPathExpressionException
Copyright © 2004-2016. All Rights Reserved.