Class ChartDciConfig

java.lang.Object
org.netxms.client.datacollection.ChartDciConfig
All Implemented Interfaces:
NodeItemPair

public class ChartDciConfig extends Object implements NodeItemPair
DCI information for chart
  • Field Details

    • UNSET_COLOR

      public static final String UNSET_COLOR
      See Also:
    • ITEM

      public static final int ITEM
      See Also:
    • TABLE

      public static final int TABLE
      See Also:
    • DEFAULT

      public static final int DEFAULT
      See Also:
    • LINE

      public static final int LINE
      See Also:
    • AREA

      public static final int AREA
      See Also:
    • nodeId

      public long nodeId
    • dciId

      public long dciId
    • dciName

      public String dciName
    • dciDescription

      public String dciDescription
    • type

      public int type
    • color

      public String color
    • name

      public String name
    • lineWidth

      public int lineWidth
    • lineChartType

      public int lineChartType
    • displayType

      protected int displayType
    • showThresholds

      public boolean showThresholds
    • invertValues

      public boolean invertValues
    • useRawValues

      public boolean useRawValues
    • multiMatch

      public boolean multiMatch
    • regexMatch

      public boolean regexMatch
    • instance

      public String instance
    • column

      public String column
    • displayFormat

      public String displayFormat
  • Constructor Details

    • ChartDciConfig

      public ChartDciConfig()
      Default constructor
    • ChartDciConfig

      public ChartDciConfig(ChartDciConfig src)
      Copy constructor
      Parameters:
      src - source object
    • ChartDciConfig

      public ChartDciConfig(DciValue dci)
      Create DCI info from DciValue object
      Parameters:
      dci - The DciValue
    • ChartDciConfig

      public ChartDciConfig(ChartDciConfig src, DciValue dciValue)
      Create DCI info from DciValue object
      Parameters:
      src - initial configuration to copy form
      dciValue - runtime DCI information
    • ChartDciConfig

      public ChartDciConfig(ChartDciConfig src, Matcher matcher, DciValue dciValue)
      Create DCI info from DciValue object
      Parameters:
      src - initial configuration to copy form
      matcher - matcher to get match group for node
      dciValue - runtime DCI information
    • ChartDciConfig

      public ChartDciConfig(DataCollectionObject dci)
      Create DCI info from DataCollectionObject object
      Parameters:
      dci - DCI to use as source
  • Method Details

    • getColorAsInt

      public int getColorAsInt()
      Returns:
      the color
    • setColor

      public void setColor(int value)
      Parameters:
      value - The colour value
    • getLabel

      public String getLabel()
      Get DCI label. Always returns non-empty string.
      Returns:
      DCI label
    • getDisplayFormat

      public String getDisplayFormat()
      Get display format
      Returns:
      The display format
    • getLineChartType

      public int getLineChartType()
      Get line chart type
      Returns:
      The display type
    • getDciName

      public String getDciName()
      Returns:
      the dciName
    • setDciName

      public void setDciName(String dciName)
      Parameters:
      dciName - the dciName to set
    • getDciDescription

      public String getDciDescription()
      Returns:
      the dciDescription
    • setDciDescription

      public void setDciDescription(String dciDescription)
      Parameters:
      dciDescription - the dciDescription to set
    • toString

      public String toString()
      Overrides:
      toString in class Object
      See Also:
    • getNodeId

      public long getNodeId()
      Description copied from interface: NodeItemPair
      Get node ID
      Specified by:
      getNodeId in interface NodeItemPair
      Returns:
      node id
    • getDciId

      public long getDciId()
      Description copied from interface: NodeItemPair
      Get DCI id
      Specified by:
      getDciId in interface NodeItemPair
      Returns:
      dci id