Class HueRotatePalette

  • All Implemented Interfaces:
    java.io.Serializable, ColorsDispatcher

    public class HueRotatePalette
    extends java.lang.Object
    implements ColorsDispatcher
    Rotating Hue Color Palette

    Creates rotating hue palette by setting the following in jmeter.properties or user.properties:

    • jmeterPlugin.customColorsDispatcher = huerotate
    • jmeterPlugin.customColorsDispatcher.options = 9C27B0,8,4

    Where options define 3 fields

    • options[0] - Starting color
    • options[1] - Number of proportional rotations
    • options[2] - black to gray gradient steps to generate
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      HueRotatePalette​(java.lang.String options)
      Implements ColorDispatcher using a base color and rotating it's hue and generating black to gray gradient with user defined steps
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.Color getNextColor()  
      void reset()  
      • Methods inherited from class java.lang.Object

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

      • HueRotatePalette

        public HueRotatePalette​(java.lang.String options)
        Implements ColorDispatcher using a base color and rotating it's hue and generating black to gray gradient with user defined steps
        Parameters:
        options - comma delimited list of colors in hex, e.g. 112233,aa00ff