Class ReportGeneratorConfiguration

  • All Implemented Interfaces:

    
    public class ReportGeneratorConfiguration
    
                        

    The class ReportGeneratorConfiguration describes the configuration of the report generator.

    Since:

    3.0

    • Constructor Detail

      • ReportGeneratorConfiguration

        ReportGeneratorConfiguration()
    • Method Detail

      • setReportTitle

         void setReportTitle(String reportTitle)
        Parameters:
        reportTitle - the reportTitle to set
      • getStartDate

         Date getStartDate()
        Returns:

        the start date to use to generate the report

      • setStartDate

         void setStartDate(Date startDate)
        Parameters:
        startDate - the start date to use to generate the report
      • getEndDate

         Date getEndDate()
        Returns:

        the end date to use to generate the report

      • setEndDate

         void setEndDate(Date endDate)
        Parameters:
        endDate - the end date to use to generate the report
      • getSampleFilter

         final String getSampleFilter()

        Gets the overall sample filter.

        Returns:

        the overall sample filter

      • setSampleFilter

         final void setSampleFilter(String sampleFilter)

        Sets the overall sample filter.

        Parameters:
        sampleFilter - the new overall sample filter
      • getTempDirectory

         final File getTempDirectory()

        Gets the temporary directory.

        Returns:

        the temporary directory

      • setTempDirectory

         final void setTempDirectory(File tempDirectory)

        Sets the temporary directory.

        Parameters:
        tempDirectory - the temporary directory to set
      • getApdexSatisfiedThreshold

         final long getApdexSatisfiedThreshold()

        Gets the apdex satisfied threshold.

        Returns:

        the apdex satisfied threshold

      • setApdexSatisfiedThreshold

         final void setApdexSatisfiedThreshold(long apdexSatisfiedThreshold)

        Sets the apdex satisfied threshold.

        Parameters:
        apdexSatisfiedThreshold - the apdex satisfied threshold to set
      • getApdexToleratedThreshold

         final long getApdexToleratedThreshold()

        Gets the apdex tolerated threshold.

        Returns:

        the apdex tolerated threshold

      • setApdexToleratedThreshold

         final void setApdexToleratedThreshold(long apdexToleratedThreshold)

        Sets the apdex tolerated threshold.

        Parameters:
        apdexToleratedThreshold - the apdex tolerated threshold to set
      • setApdexPerTransaction

         void setApdexPerTransaction(Map<String, Array<Long>> apdexPerTransaction)

        Sets the apdex per transaction map.

        Parameters:
        apdexPerTransaction - a map containing thresholds for one or more samples
      • getSubConfigurationPropertyPrefix

         static String getSubConfigurationPropertyPrefix(String keyPrefix, String subConfId)

        Gets the sub configuration property prefix from the specified key prefix and sub configuration identifier.

        Parameters:
        keyPrefix - the key prefix
        subConfId - the sub configuration identifier
        Returns:

        the sub configuration property prefix

      • getSubConfigurationPropertyKey

         static String getSubConfigurationPropertyKey(String keyPrefix, String subConfId, String propertyName)

        Gets the sub configuration property key from the specified key prefix, sub configuration identifier and property name.

        Parameters:
        keyPrefix - the key prefix
        subConfId - the sub configuration identifier
        propertyName - the property name
        Returns:

        the sub configuration property key

      • getExporterPropertyKey

         static String getExporterPropertyKey(String exporterId, String propertyName)

        Gets the exporter property key from the specified identifier and property name.

        Parameters:
        exporterId - the exporter identifier
        propertyName - the property name
        Returns:

        the exporter property key

      • getGraphPropertyKey

         static String getGraphPropertyKey(String graphId, String propertyName)

        Gets the graph property key from the specified identifier and property name.

        Parameters:
        graphId - the graph identifier
        propertyName - the property name
        Returns:

        the graph property key

      • getApdexPerTransactionParts

         static Map<String, Array<Long>> getApdexPerTransactionParts(String apdexPerTransaction)

        Parses a string coming from properties to fill a map containing sample names as keys and an array of 2 longs [satisfied, tolerated] as values. The sample name can be a regex supplied by the user.

        Parameters:
        apdexPerTransaction - the string coming from properties
        Returns:

        Map containing for each sample name or sample name regex an array of Long corresponding to satisfied and tolerated apdex thresholds.

      • setIgnoreTCFromTop5ErrorsBySampler

         void setIgnoreTCFromTop5ErrorsBySampler(boolean ignoreTCFromTop5ErrorsBySampler)
        Parameters:
        ignoreTCFromTop5ErrorsBySampler - the ignoreTCFromTop5ErrorsBySampler to set