public abstract class AbstractReporter extends ConfigurableReporter
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Date |
endTime |
protected java.util.List<Status> |
levels |
protected java.util.Date |
startTime |
protected java.util.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 java.util.Date |
getEndTime() |
java.lang.String |
getLongRunDuration() |
long |
getRunDuration() |
protected java.util.Date |
getStartTime() |
java.util.List<Status> |
getStatusList() |
void |
setAnalysisStrategy(AnalysisStrategy strategy) |
protected void |
setEndTime(java.util.Date endTime) |
getConfigContext, loadConfig, loadConfig, loadConfig, loadXMLConfig, loadXMLConfig, loadXMLConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReporterName, start, stoponAuthorAssigned, onCategoryAssigned, onDeviceAssigned, onLogAdded, onNodeStarted, onScreenCaptureAdded, onScreenCaptureAdded, onScreencastAdded, onTestRemoved, onTestStartedprotected java.util.List<Status> levels
protected java.util.Date startTime
protected java.util.Date endTime
protected java.util.List<Status> statusList
public void flush(ReportAggregates reportAggregates)
ExtentReporterreportAggregates - a ReportAggregates objectprotected java.util.Date getStartTime()
protected void setEndTime(java.util.Date endTime)
protected java.util.Date getEndTime()
public void setAnalysisStrategy(AnalysisStrategy strategy)
public AnalysisStrategy getAnalysisStrategy()
public long getRunDuration()
public java.lang.String getLongRunDuration()
public java.util.List<Status> getStatusList()
Copyright © 2018. All Rights Reserved.