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 String
computeStatus()
boolean
equals(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.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
DefaultStatus
public DefaultStatus(String label, long count)
-
-
Method Detail
-
computeStatus
public String computeStatus()
- Specified by:
computeStatus
in interfaceStatus
-
getStatusProperties
public Map<String,String> getStatusProperties()
- Specified by:
getStatusProperties
in interfaceStatus
-
getStyleProperties
public Map<String,String> getStyleProperties()
Description copied from interface:Status
Defines 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:
getStyleProperties
in interfaceStatus
- Returns:
- CSS-Property to Value-Mapping for each GWTEdge. Must NOT be null
-
-