org.apache.jmeter.report.processor.graph

## Class StatusSeriesSelector

- java.lang.Object
- - org.apache.jmeter.report.processor.graph.AbstractSeriesSelector
  - - org.apache.jmeter.report.processor.graph.StatusSeriesSelector

- All Implemented Interfaces:
    SampleSelector<java.lang.Iterable<java.lang.String>>, GraphSeriesSelector

      public class StatusSeriesSelector
      extends AbstractSeriesSelector

  The class StatusSeriesSelector provides a projection from a sample to a string that defines its status (success or failure).
  Since:
    3.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StatusSeriesSelector()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getFailureLabel()` Gets the failure label.
    `java.lang.String` | `getSuccessLabel()` Gets the success label.
    `java.lang.Iterable<java.lang.String>` | `select(Sample sample)` Do the projection from the specified sample
    `void` | `setFailureLabel(java.lang.String failureLabel)` Sets the failure label.
    `void` | `setSuccessLabel(java.lang.String successLabel)` Sets the success label.

    - ### 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

    - #### StatusSeriesSelector

          public StatusSeriesSelector()

  - ### Method Detail

    - #### getFailureLabel

          public final java.lang.String getFailureLabel()

      Gets the failure label.
      Returns:
        the failureLabel

    - #### setFailureLabel

          public final void setFailureLabel(java.lang.String failureLabel)

      Sets the failure label.
      Parameters:
        `failureLabel` - the failureLabel to set

    - #### getSuccessLabel

          public final java.lang.String getSuccessLabel()

      Gets the success label.
      Returns:
        the successLabel

    - #### setSuccessLabel

          public final void setSuccessLabel(java.lang.String successLabel)

      Sets the success label.
      Parameters:
        `successLabel` - the successLabel to set

    - #### select

          public java.lang.Iterable<java.lang.String> select(Sample sample)

      Description copied from interface: `SampleSelector`
      Do the projection from the specified sample
      Parameters:
        `sample` - the sample
      Returns:
        the projection result

Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.