Class CustomGraphConsumer

All Implemented Interfaces:
SampleConsumer, SampleProcessor, SampleProducer

public class CustomGraphConsumer extends AbstractOverTimeGraphConsumer implements SampleConsumer
The class CustomGraphConsumer is added by the custom Graphs plugin. It provides all the graphs the user defined in user.properties.
Since:
5.0
  • Field Details

  • Constructor Details

    • CustomGraphConsumer

      public CustomGraphConsumer()
  • Method Details

    • getIsNativeSampleVariableName

      public boolean getIsNativeSampleVariableName()
      Only used for junit tests. Indicates if the sampleVariableName is native
      Returns:
      the nativeSampleVariableName
    • getYAxis

      public String getYAxis()
      Gets the Y Axis.
      Returns:
      the yAxis
    • getXAxis

      public String getXAxis()
      Gets the X Axis.
      Returns:
      the xAxis
    • setYAxis

      public void setYAxis(String axis)
      Sets the yAxis.
      Parameters:
      axis - the yAxis to set
    • setXAxis

      public void setXAxis(String axis)
      Sets the xAxis.
      Parameters:
      axis - the xAxis to set
    • setContentMessage

      public void setContentMessage(String message)
      Sets the contentMessage.
      Parameters:
      message - the message to set
    • getContentMessage

      public String getContentMessage()
      Gets the content message.
      Returns:
      the contentMessage
    • getSampleVariableName

      public String getSampleVariableName()
      Gets the sampleVariableName.
      Returns:
      the sampleVariableName
    • setSampleVariableName

      public void setSampleVariableName(String sampleVarName)
      Sets the sampleVariableName. Sets the boolean isNativesSampleVariableName
      Parameters:
      sampleVarName - the sampleVariableName to set
    • initializeExtraResults

      protected void initializeExtraResults(MapResultData parentResult)
      Description copied from class: AbstractGraphConsumer
      Inherited classes can add properties to the result
      Overrides:
      initializeExtraResults in class AbstractOverTimeGraphConsumer
      Parameters:
      parentResult - the parent result
    • createTimeStampKeysSelector

      protected TimeStampKeysSelector createTimeStampKeysSelector()
      Description copied from class: AbstractOverTimeGraphConsumer
      Creates the time stamp keys selector.
      Specified by:
      createTimeStampKeysSelector in class AbstractOverTimeGraphConsumer
      Returns:
      the time stamp keys selector
    • createGroupInfos

      protected Map<String,GroupInfo> createGroupInfos()
      Specified by:
      createGroupInfos in class AbstractOverTimeGraphConsumer