com.lazerycode.jmeter.configuration
Class ReportConfig

java.lang.Object
  extended by com.lazerycode.jmeter.configuration.ReportConfig

public class ReportConfig
extends Object

Is used for configuration of all report related configuration.

Configuration in pom.xml:

 <reportConfig>
     <enable></enable>
     <outputDirectory></outputDirectory>
     <postFix></postFix>
     <xsltFile></xsltFile>
 </reportConfig>
 
 

Author:
Arne Franken

Constructor Summary
ReportConfig()
           
 
Method Summary
 File getOutputDirectory()
           
 String getPostfix()
           
 File getXsltFile()
           
 boolean isEnable()
           
 void setEnable(boolean enable)
          Whether or not to generate reports after measurement.
 void setOutputDirectory(File outputDirectory)
          Directory in which the reports are stored.
 void setPostfix(String postfix)
          Postfix to add to report file.
 void setXsltFile(File xsltFile)
          Custom Xslt which is used to create the report.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportConfig

public ReportConfig()
Method Detail

getOutputDirectory

public File getOutputDirectory()
Returns:
Directory in which the reports are stored.

setOutputDirectory

public void setOutputDirectory(File outputDirectory)
Directory in which the reports are stored.

Parameters:
outputDirectory -

getPostfix

public String getPostfix()
Returns:
Postfix to add to report file.

setPostfix

public void setPostfix(String postfix)
Postfix to add to report file. Default: "-report.html"

Parameters:
postfix -

isEnable

public boolean isEnable()
Returns:
Whether or not to generate reports after measurement.

setEnable

public void setEnable(boolean enable)
Whether or not to generate reports after measurement. Default: Boolean.TRUE

Parameters:
enable -

getXsltFile

public File getXsltFile()
Returns:
Custom Xslt which is used to create the report.

setXsltFile

public void setXsltFile(File xsltFile)
Custom Xslt which is used to create the report.

Parameters:
xsltFile -

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.