Class DefaultStatus
- java.lang.Object
-
- org.opennms.features.topology.api.topo.DefaultStatus
-
-
Constructor Summary
Constructors Constructor Description DefaultStatus(String label, long count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcomputeStatus()booleanequals(Object obj)Map<String,String>getStatusProperties()Map<String,String>getStyleProperties()Defines a CSS-Property to Value mapping, where the key defines the CSS-Property and the value the according value.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
DefaultStatus
public DefaultStatus(String label, long count)
-
-
Method Detail
-
computeStatus
public String computeStatus()
- Specified by:
computeStatusin interfaceStatus
-
getStatusProperties
public Map<String,String> getStatusProperties()
- Specified by:
getStatusPropertiesin interfaceStatus
-
getStyleProperties
public Map<String,String> getStyleProperties()
Description copied from interface:StatusDefines a CSS-Property to Value mapping, where the key defines the CSS-Property and the value the according value. Each entry is applied to the GWTEdge style attribute. If no style should be applied in addition, return an empty map.- Specified by:
getStylePropertiesin interfaceStatus- Returns:
- CSS-Property to Value-Mapping for each GWTEdge. Must NOT be null
-
-