Package org.netxms.client.datacollection
Class ChartDciConfig
java.lang.Object
org.netxms.client.datacollection.ChartDciConfig
- All Implemented Interfaces:
NodeItemPair
DCI information for chart
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
long
static final int
protected int
boolean
static final int
static final int
int
int
boolean
long
boolean
boolean
static final int
int
static final String
boolean
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy constructorChartDciConfig
(ChartDciConfig src, Matcher matcher, DciValue dciValue) Create DCI info from DciValue objectChartDciConfig
(ChartDciConfig src, DciValue dciValue) Create DCI info from DciValue objectCreate DCI info from DataCollectionObject objectChartDciConfig
(DciValue dci) Create DCI info from DciValue object -
Method Summary
Modifier and TypeMethodDescriptionint
long
getDciId()
Get DCI idGet display formatgetLabel()
Get DCI label.int
Get line chart typelong
Get node IDvoid
setColor
(int value) void
setDciDescription
(String dciDescription) void
setDciName
(String dciName) toString()
-
Field Details
-
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
-
dciDescription
-
type
public int type -
color
-
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
-
column
-
displayFormat
-
-
Constructor Details
-
ChartDciConfig
public ChartDciConfig()Default constructor -
ChartDciConfig
Copy constructor- Parameters:
src
- source object
-
ChartDciConfig
Create DCI info from DciValue object- Parameters:
dci
- The DciValue
-
ChartDciConfig
Create DCI info from DciValue object- Parameters:
src
- initial configuration to copy formdciValue
- runtime DCI information
-
ChartDciConfig
Create DCI info from DciValue object- Parameters:
src
- initial configuration to copy formmatcher
- matcher to get match group for nodedciValue
- runtime DCI information
-
ChartDciConfig
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
Get DCI label. Always returns non-empty string.- Returns:
- DCI label
-
getDisplayFormat
Get display format- Returns:
- The display format
-
getLineChartType
public int getLineChartType()Get line chart type- Returns:
- The display type
-
getDciName
- Returns:
- the dciName
-
setDciName
- Parameters:
dciName
- the dciName to set
-
getDciDescription
- Returns:
- the dciDescription
-
setDciDescription
- Parameters:
dciDescription
- the dciDescription to set
-
toString
-
getNodeId
public long getNodeId()Description copied from interface:NodeItemPair
Get node ID- Specified by:
getNodeId
in interfaceNodeItemPair
- Returns:
- node id
-
getDciId
public long getDciId()Description copied from interface:NodeItemPair
Get DCI id- Specified by:
getDciId
in interfaceNodeItemPair
- Returns:
- dci id
-