org.easetech.easytest.reports.data
Class ReportParametersBean
java.lang.Object
org.easetech.easytest.reports.data.ReportParametersBean
public class ReportParametersBean
- extends Object
This bean holds the report parameters, like output format, location etc.
- Author:
- gpcmol
|
Field Summary |
protected static org.slf4j.Logger |
LOG
An instance of logger associated with the test framework. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final org.slf4j.Logger LOG
- An instance of logger associated with the test framework.
ReportParametersBean
public ReportParametersBean(Report.EXPORT_FORMAT[] outputFormats,
String outputLocation)
- Constructor if there is no command line parameters
- Parameters:
outputFormats - outputLocation -
ReportParametersBean
public ReportParametersBean(String reportsFormat,
String outputLocation,
String packages)
- Process command line parameters -Dreports.generate : generates reports
-Dreports.format=pdf : report output is pdf, (optional, default=pdf).
Comma separated, valid value is pdf,xls
-Dreports.location=classpath:org/easetech/easytest/output : (optional,
default="" current folder). (e.g. file:c:\\temp is supported as well)
getOutputFormats
public Report.EXPORT_FORMAT[] getOutputFormats()
getOutputLocation
public String getOutputLocation()
getPackageNames
public List<String> getPackageNames()
Copyright © 2013. All Rights Reserved.