public abstract class AbstractModelItemReport<T extends com.eviware.soapui.model.ModelItem> extends Object implements ModelItemReport
Modifier | Constructor and Description |
---|---|
protected |
AbstractModelItemReport(T modelItem,
boolean createDefaultSubReports,
com.eviware.soapui.config.ReportTypeConfig.Enum level) |
Modifier and Type | Method and Description |
---|---|
void |
addMetric(String name,
int value) |
void |
addMetric(String name,
int value,
String icon) |
void |
addMetric(String category,
MetricProvider provider) |
void |
addMetric(String name,
String value) |
void |
addMetric(String category,
String name,
int value) |
void |
addMetric(String category,
String name,
int value,
String icon) |
void |
addMetric(String name,
String value,
String icon) |
void |
addMetric(String category,
String name,
String value,
String icon) |
void |
addSubReport(SubReport subReport) |
String |
getItemDescription() |
String |
getItemName() |
com.eviware.soapui.config.ReportTypeConfig.Enum |
getLevel() |
T |
getModelItem() |
SubReport |
getSubReportByName(String name) |
SubReport[] |
getSubReports() |
<T2> Collection<T2> |
getSubReportsByType(Class<T2> clazz) |
boolean |
hasSubReport(String name) |
protected void |
initMetricsSubReport() |
void |
prepare() |
void |
release() |
void |
removeSubReport(SubReport subReport) |
void |
updateMetric(String name,
int value,
String icon) |
void |
updateMetric(String category,
MetricProvider provider) |
void |
updateMetric(String category,
String name,
int value,
String icon) |
void |
updateMetric(String category,
String name,
String value,
String icon) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getModelItemReportParameters, onGenerate
public String getItemDescription()
public String getItemName()
public T getModelItem()
getModelItem
in interface ModelItemReport
public SubReport[] getSubReports()
getSubReports
in interface ModelItemReport
public void addSubReport(SubReport subReport)
addSubReport
in interface ModelItemReport
public void removeSubReport(SubReport subReport)
removeSubReport
in interface ModelItemReport
public void addMetric(String name, int value)
public void addMetric(String category, MetricProvider provider)
public void updateMetric(String category, MetricProvider provider)
protected void initMetricsSubReport()
public com.eviware.soapui.config.ReportTypeConfig.Enum getLevel()
getLevel
in interface ModelItemReport
public void release()
release
in interface ModelItemReport
public void prepare()
prepare
in interface ModelItemReport
public SubReport getSubReportByName(String name)
getSubReportByName
in interface ModelItemReport
public boolean hasSubReport(String name)
hasSubReport
in interface ModelItemReport
public <T2> Collection<T2> getSubReportsByType(Class<T2> clazz)
getSubReportsByType
in interface ModelItemReport
Copyright © 2019. All rights reserved.