public class XMLSaxToRepositoryHandler extends XMLSaxToJUnitHandler
orderable, statusReport, tagStack, testLevelList, value
Constructor and Description |
---|
XMLSaxToRepositoryHandler() |
XMLSaxToRepositoryHandler(java.lang.String safsdataServiceURL)
Construct a handler with safsdata-service URL.
|
XMLSaxToRepositoryHandler(java.lang.String safsdataServiceURL,
java.lang.String counterUnit)
Construct a handler with safsdata-service URL.
|
Modifier and Type | Method and Description |
---|---|
protected Testcase |
collectTestcase(TestCase testlevel,
java.lang.Long id) |
protected Testcycle |
collectTestcycle(TestSuites testlevel) |
protected Testsuite |
collectTestsuite(TestSuite testlevel,
java.lang.Long id) |
java.lang.String |
getResult()
1.
|
protected RestModel |
phoneHome(RestModel restModel) |
characters, endElement, startDocument, startElement
public XMLSaxToRepositoryHandler()
public XMLSaxToRepositoryHandler(java.lang.String safsdataServiceURL)
safsdataServiceURL
- String, The safsdata-service's base URL.public XMLSaxToRepositoryHandler(java.lang.String safsdataServiceURL, java.lang.String counterUnit)
safsdataServiceURL
- String, The safsdata-service's base URL.counterUnit
- String, the counter unit. It can be one of Constants.VALID_COUTNER_UNITS
.public java.lang.String getResult()
getResult
in class XMLSaxAbstractHandler
SAFSRuntimeException
- if 'push of data to safs repository' fails.protected Testcycle collectTestcycle(TestSuites testlevel) throws SAFSDatabaseException, SAFSModelCreationException
protected Testsuite collectTestsuite(TestSuite testlevel, java.lang.Long id) throws SAFSDatabaseException, SAFSModelCreationException
protected Testcase collectTestcase(TestCase testlevel, java.lang.Long id) throws SAFSDatabaseException, SAFSModelCreationException
protected RestModel phoneHome(RestModel restModel) throws SAFSDatabaseException, SAFSModelCreationException
Copyright © SAS Institute. All Rights Reserved.