Package org.netxms.client.maps.configs
Class DCIImageConfiguration
java.lang.Object
org.netxms.client.maps.configs.DCIImageConfiguration
Base class for DCI image configuration
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanCheck if this configuration has rule list.getCorrectImage(DciValue dciValue) Checks is any rule applicable on last value.getDci()Returns DCI array as a listvoidsetDci(MapImageDataSource dci) voidsetDciRuleArray(DCIImageRule[] dciRuleList) voidsetDefaultImage(UUID defaultImage) 
- 
Field Details- 
OP_LEpublic static final int OP_LE- See Also:
 
- 
OP_LE_EQpublic static final int OP_LE_EQ- See Also:
 
- 
OP_EQpublic static final int OP_EQ- See Also:
 
- 
OP_GT_EQpublic static final int OP_GT_EQ- See Also:
 
- 
OP_GTpublic static final int OP_GT- See Also:
 
- 
OP_NEpublic static final int OP_NE- See Also:
 
- 
OP_LIKEpublic static final int OP_LIKE- See Also:
 
- 
OP_NOTLIKEpublic static final int OP_NOTLIKE- See Also:
 
 
- 
- 
Constructor Details- 
DCIImageConfigurationpublic DCIImageConfiguration()
 
- 
- 
Method Details- 
getDciRuleArray- Returns:
- the dciRuleList
 
- 
setDciRuleArray- Parameters:
- dciRuleList- the dciRuleList to set
 
- 
getRulesAsListReturns DCI array as a list- Returns:
- TODO
 
- 
getDci- Returns:
- the dci
 
- 
setDci- Parameters:
- dci- the dci to set
 
- 
getDefaultImage- Returns:
- the defaultImage
 
- 
setDefaultImage- Parameters:
- defaultImage- the defaultImage to set
 
- 
containRuleListpublic boolean containRuleList()Check if this configuration has rule list.- Returns:
- true if this configuration has rule list
 
- 
getCorrectImageChecks is any rule applicable on last value. All except "like" and "not like" are compared withT.compateTo(T). Values for "Like" and "not like" can be provided as regular expressions so they are always compared as a strings and with help ofGlob.matchIgnoreCase(pattern, string).- Parameters:
- dciValue- DCI value to check
- Returns:
- correct image according to last value
 
 
-