Class AbstractSeriesSelector
java.lang.Object
org.apache.jmeter.report.processor.graph.AbstractSeriesSelector
- All Implemented Interfaces:
SampleSelector<Iterable<String>>,GraphSeriesSelector
- Direct Known Subclasses:
CodeSeriesSelector,NameSeriesSelector,StaticSeriesSelector,StatusSeriesSelector
The class AbstractSeriesSelector provide an abstract base class for
GraphSeriesSelector.
- Since:
- 3.0
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstantiates a new abstract series selector.protectedAbstractSeriesSelector(boolean allowsControllerDiscrimination) Instantiates a new abstract series selector. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether this selector allows controllers discrimination, which allows on graphs to only show transaction controllerswithDefaultIfEmpty(String value, String defaultValue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jmeter.report.core.SampleSelector
select
-
Constructor Details
-
AbstractSeriesSelector
protected AbstractSeriesSelector()Instantiates a new abstract series selector. -
AbstractSeriesSelector
protected AbstractSeriesSelector(boolean allowsControllerDiscrimination) Instantiates a new abstract series selector.- Parameters:
allowsControllerDiscrimination- indicates whether this selector allows to discriminate controllers
-
-
Method Details
-
allowsControllersDiscrimination
public final boolean allowsControllersDiscrimination()Description copied from interface:GraphSeriesSelectorIndicates whether this selector allows controllers discrimination, which allows on graphs to only show transaction controllers- Specified by:
allowsControllersDiscriminationin interfaceGraphSeriesSelector- Returns:
- true, if this selector allows controllers discrimination; false otherwise
-
withDefaultIfEmpty
- Parameters:
value- String valuedefaultValue- Default value to use if value is empty or null- Returns:
- input or default value wrapped in a list
-