org.easetech.easytest.reports.data
Class ReportParametersBean

java.lang.Object
  extended by 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.
 
Constructor Summary
ReportParametersBean(Report.EXPORT_FORMAT[] outputFormats, String outputLocation)
          Constructor if there is no command line parameters
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).
 
Method Summary
 Report.EXPORT_FORMAT[] getOutputFormats()
           
 String getOutputLocation()
           
 List<String> getPackageNames()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final org.slf4j.Logger LOG
An instance of logger associated with the test framework.

Constructor Detail

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)

Method Detail

getOutputFormats

public Report.EXPORT_FORMAT[] getOutputFormats()

getOutputLocation

public String getOutputLocation()

getPackageNames

public List<String> getPackageNames()


Copyright © 2013. All Rights Reserved.