Class DefaultStatus
- java.lang.Object
-
- org.opennms.features.topology.api.topo.DefaultStatus
-
-
Constructor Summary
Constructors Constructor Description DefaultStatus(java.lang.String label, long count)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
computeStatus()
boolean
equals(java.lang.Object obj)
java.util.Map<java.lang.String,java.lang.String>
getStatusProperties()
java.util.Map<java.lang.String,java.lang.String>
getStyleProperties()
Defines a CSS-Property to Value mapping, where the key defines the CSS-Property and the value the according value.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
computeStatus
public java.lang.String computeStatus()
- Specified by:
computeStatus
in interfaceStatus
-
getStatusProperties
public java.util.Map<java.lang.String,java.lang.String> getStatusProperties()
- Specified by:
getStatusProperties
in interfaceStatus
-
getStyleProperties
public java.util.Map<java.lang.String,java.lang.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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-