Class StaticSeriesSelector

  • All Implemented Interfaces:
    org.apache.jmeter.report.core.SampleSelector , org.apache.jmeter.report.processor.graph.GraphSeriesSelector

    
    public class StaticSeriesSelector
    extends AbstractSeriesSelector
                        

    The class StaticSeriesSelector provides always the same series name.

    Since:

    3.0

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public String seriesName
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getSeriesName() Gets the name of the series.
      final void setSeriesName(String seriesName) Sets the name of the series.
      Iterable<String> select(Sample sample) Do the projection from the specified sample
      • Methods inherited from class org.apache.jmeter.report.processor.graph.AbstractSeriesSelector

        allowsControllersDiscrimination
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StaticSeriesSelector

        StaticSeriesSelector()
    • Method Detail

      • getSeriesName

         final String getSeriesName()

        Gets the name of the series.

        Returns:

        the name of the series

      • setSeriesName

         final void setSeriesName(String seriesName)

        Sets the name of the series.

        Parameters:
        seriesName - the name of the series to set
      • select

         Iterable<String> select(Sample sample)

        Do the projection from the specified sample

        Parameters:
        sample - the sample
        Returns:

        the projection result