public abstract class ConfigurableReporter extends AbstractReporter
| Constructor and Description |
|---|
ConfigurableReporter() |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationStore |
getConfigurationStore()
Returns the current configuration (default and user-defined)
|
protected void |
init(java.lang.String[] configFilePath,
BasicConfiguration userConfig) |
void |
loadConfig(java.io.InputStream stream)
Loads configuration from an
InputStream which is a Properties
file |
void |
loadConfig(java.util.Properties properties)
Loads configuration from a Properties file
|
void |
loadConfig(java.lang.String filePath)
Loads configuration from an path which is a
Properties file |
protected void |
loadInternalReporterConfiguration(java.lang.String[] configFilePath) |
protected void |
loadUserConfig() |
void |
loadXMLConfig(java.io.File file,
java.lang.Boolean silent)
Loads configuration from an XML file
|
void |
loadXMLConfig(java.lang.String filePath)
Loads configuration from an XML file
|
void |
loadXMLConfig(java.lang.String filePath,
java.lang.Boolean silent)
Loads configuration from an XML file
|
autoCreateRelativePathMedia, flush, getAnalysisStrategy, getAuthorContextInfo, getCategoryContextInfo, getDeviceContextInfo, getEndTime, getExceptionContextInfo, getLongRunDuration, getReportStatusStats, getRunDuration, getStartTime, getStatusCollection, getSystemAttributeContext, getTestList, getTestRunnerLogs, onAuthorAssigned, onCategoryAssigned, onDeviceAssigned, onLogAdded, onNodeStarted, onScreenCaptureAdded, onScreenCaptureAdded, onTestRemoved, onTestStarted, setAnalysisStrategy, setEndTime, setStartTime, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetReporterName, startpublic void loadXMLConfig(java.lang.String filePath,
java.lang.Boolean silent)
filePath - Configuration file pathsilent - Load configuration silently, no errors are thrown if the
configuration file is not presentpublic void loadXMLConfig(java.lang.String filePath)
filePath - configuration file pathpublic void loadXMLConfig(java.io.File file,
java.lang.Boolean silent)
file - configuration Filesilent - If silent, no errors will be thrownpublic void loadConfig(java.util.Properties properties)
properties - a Properties objectpublic void loadConfig(java.io.InputStream stream)
InputStream which is a Properties
filestream - an InputStreampublic void loadConfig(java.lang.String filePath)
Properties filefilePath - Properties file pathprotected void loadUserConfig()
protected void init(java.lang.String[] configFilePath,
BasicConfiguration userConfig)
protected void loadInternalReporterConfiguration(java.lang.String[] configFilePath)
public ConfigurationStore getConfigurationStore()
ConfigurationStore containing key-value pairs of config
entriesCopyright © 2020. All Rights Reserved.