Package org.netxms.client.maps.configs
Class LinkConfig
java.lang.Object
org.netxms.client.maps.configs.LinkConfig
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorLinkConfig(MapLinkDataSource[] dciList, List<Long> objectStatusList, int routing, long[] bendPoints, boolean useActiveThresholds, boolean useInterfaceUtilization, boolean isLocked) Create link object from scratch. -
Method Summary
Modifier 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
-
LinkConfig
public LinkConfig()Default constructor -
LinkConfig
public LinkConfig(MapLinkDataSource[] dciList, List<Long> objectStatusList, int routing, long[] bendPoints, boolean useActiveThresholds, boolean useInterfaceUtilization, boolean isLocked) Create link object from scratch.- Parameters:
dciList- DCI listobjectStatusList- list of object identifiers for status calculation (can be null)routing- routing typebendPoints- list of bend points (can be null)useActiveThresholds- true to use active DCI thresholds for status calculationisLocked- 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
-
getRouting
public int getRouting()- Returns:
- the routing
-
setRouting
public void setRouting(int routing) - Parameters:
routing- the routing to set
-
getBendPoints
public long[] getBendPoints()- Returns:
- the bendPoints
-
setBendPoints
public void setBendPoints(long[] bendPoints) - Parameters:
bendPoints- the bendPoints to set
-
setUseActiveThresholds
public void setUseActiveThresholds(boolean useActiveThresholds) - Parameters:
useActiveThresholds- set use active thresholds
-
isUseActiveThresholds
public boolean isUseActiveThresholds()- Returns:
- are active thresholds used
-
isUseInterfaceUtilization
public boolean isUseInterfaceUtilization()- Returns:
- the useInterfaceUtilization
-
setUseInterfaceUtilization
public void setUseInterfaceUtilization(boolean useInterfaceUtilization) - Parameters:
useInterfaceUtilization- the useInterfaceUtilization to set
-
getLabelPosition
public int getLabelPosition()- Returns:
- the labelPosition
-
setLabelPosition
public void setLabelPosition(int labelPosition) - Parameters:
labelPosition- the labelPosition to set
-
getStyle
public int getStyle()- Returns:
- the style
-
setStyle
public void setStyle(int style) - Parameters:
style- the style to set
-
getWidth
public int getWidth()- Returns:
- the width
-
setWidth
public void setWidth(int width) - Parameters:
width- the width to set
-
toString
-