Package org.netxms.client.maps.configs
Class LinkConfig
java.lang.Object
org.netxms.client.maps.configs.LinkConfig
- 
Constructor SummaryConstructorsConstructorDescriptionDefault constructorLinkConfig(MapLinkDataSource[] dciList, List<Long> objectStatusList, int routing, long[] bendPoints, boolean useActiveThresholds, boolean useInterfaceUtilization, boolean isLocked) Create link object from scratch.
- 
Method SummaryModifier and TypeMethodDescriptionlong[]intintintgetStyle()intgetWidth()booleanbooleanvoidsetBendPoints(long[] bendPoints) voidsetDciList(MapLinkDataSource[] dciList) voidsetLabelPosition(int labelPosition) voidsetObjectStatusList(List<Long> objectStatusList) voidsetRouting(int routing) voidsetStyle(int style) voidsetUseActiveThresholds(boolean useActiveThresholds) voidsetUseInterfaceUtilization(boolean useInterfaceUtilization) voidsetWidth(int width) toString()
- 
Constructor Details- 
LinkConfigpublic LinkConfig()Default constructor
- 
LinkConfigpublic LinkConfig(MapLinkDataSource[] dciList, List<Long> objectStatusList, int routing, long[] bendPoints, boolean useActiveThresholds, boolean useInterfaceUtilization, boolean isLocked) Create link object from scratch.- Parameters:
- dciList- DCI list
- objectStatusList- list of object identifiers for status calculation (can be null)
- routing- routing type
- bendPoints- list of bend points (can be null)
- useActiveThresholds- true to use active DCI thresholds for status calculation
- isLocked- true if link is locked
 
 
- 
- 
Method Details- 
getObjectStatusList- Returns:
- the objectStatusList
 
- 
setObjectStatusList- Parameters:
- objectStatusList- the objectStatusList to set
 
- 
getDciList- Returns:
- the dciList
 
- 
setDciList- Parameters:
- dciList- the dciList to set
 
- 
getRoutingpublic int getRouting()- Returns:
- the routing
 
- 
setRoutingpublic void setRouting(int routing) - Parameters:
- routing- the routing to set
 
- 
getBendPointspublic long[] getBendPoints()- Returns:
- the bendPoints
 
- 
setBendPointspublic void setBendPoints(long[] bendPoints) - Parameters:
- bendPoints- the bendPoints to set
 
- 
setUseActiveThresholdspublic void setUseActiveThresholds(boolean useActiveThresholds) - Parameters:
- useActiveThresholds- set use active thresholds
 
- 
isUseActiveThresholdspublic boolean isUseActiveThresholds()- Returns:
- are active thresholds used
 
- 
isUseInterfaceUtilizationpublic boolean isUseInterfaceUtilization()- Returns:
- the useInterfaceUtilization
 
- 
setUseInterfaceUtilizationpublic void setUseInterfaceUtilization(boolean useInterfaceUtilization) - Parameters:
- useInterfaceUtilization- the useInterfaceUtilization to set
 
- 
getLabelPositionpublic int getLabelPosition()- Returns:
- the labelPosition
 
- 
setLabelPositionpublic void setLabelPosition(int labelPosition) - Parameters:
- labelPosition- the labelPosition to set
 
- 
getStylepublic int getStyle()- Returns:
- the style
 
- 
setStylepublic void setStyle(int style) - Parameters:
- style- the style to set
 
- 
getWidthpublic int getWidth()- Returns:
- the width
 
- 
setWidthpublic void setWidth(int width) - Parameters:
- width- the width to set
 
- 
toString
 
-