Class RenderConfiguration.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of RenderConfiguration.
    • Method Detail

      • setColor

        public RenderConfiguration.Builder setColor​(java.lang.String color)
        The color to use when rendering an entity. For example, set color as 'RED' to render a portion of donut in red.
        Parameters:
        color - New value for the property.
      • setCondition

        public RenderConfiguration.Builder setCondition​(java.lang.String condition)
        If the condition is met then the rendering specified for the condition will be applied. Examples of expression syntax are provided under 'example_request' section of 'CreateWidgetConfiguration' API.
        Parameters:
        condition - New value for the property.
      • setDisplayValue

        public RenderConfiguration.Builder setDisplayValue​(java.lang.String displayValue)
        If specified, overrides the field value. This can be used to display a meaningful value in situations where field value is not available or not configured.
        Parameters:
        displayValue - New value for the property.
      • setIcons

        public RenderConfiguration.Builder setIcons​(java.util.List<Icon> icons)
        Icons to be applied at dashboard for widgets and UI elements.
        Parameters:
        icons - New value for the property.
      • setTooltip

        public RenderConfiguration.Builder setTooltip​(java.util.List<Tooltip> tooltip)
        Multi-line text to be shown on tooltip while hovering over the UI element if the condition is met.
        Parameters:
        tooltip - New value for the property.