public abstract class AbstractReporter extends ConfigurableReporter
Modifier and Type | Field and Description |
---|---|
protected Date |
endTime |
protected List<Status> |
levels |
protected Date |
startTime |
protected List<Status> |
statusList |
configContext
Constructor and Description |
---|
AbstractReporter() |
Modifier and Type | Method and Description |
---|---|
void |
flush(ReportAggregates reportAggregates)
Write to or update the target source (file, database)
|
AnalysisStrategy |
getAnalysisStrategy() |
protected Date |
getEndTime() |
String |
getLongRunDuration() |
long |
getRunDuration() |
protected Date |
getStartTime() |
List<Status> |
getStatusList() |
void |
setAnalysisStrategy(AnalysisStrategy strategy) |
protected void |
setEndTime(Date endTime) |
getConfigContext, loadConfig, loadConfig, loadConfig, loadXMLConfig, loadXMLConfig, loadXMLConfig
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getReporterName, start, stop
onAuthorAssigned, onCategoryAssigned, onDeviceAssigned, onLogAdded, onNodeStarted, onScreenCaptureAdded, onScreenCaptureAdded, onScreencastAdded, onTestRemoved, onTestStarted
public void flush(ReportAggregates reportAggregates)
ExtentReporter
reportAggregates
- a ReportAggregates
objectprotected Date getStartTime()
protected void setEndTime(Date endTime)
protected Date getEndTime()
public void setAnalysisStrategy(AnalysisStrategy strategy)
public AnalysisStrategy getAnalysisStrategy()
public long getRunDuration()
public String getLongRunDuration()
Copyright © 2018. All rights reserved.