Modifier and Type | Field and Description |
---|---|
static Set<String> |
ALLOWED_PROPERTIES |
Constructor and Description |
---|
GraphMLEdgeStatus() |
Modifier and Type | Method and Description |
---|---|
String |
computeStatus() |
boolean |
equals(Object o) |
OnmsSeverity |
getSeverity() |
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() |
static GraphMLEdgeStatus |
merge(GraphMLEdgeStatus s1,
GraphMLEdgeStatus s2) |
GraphMLEdgeStatus |
severity(OnmsSeverity severity) |
GraphMLEdgeStatus |
style(Map<String,String> style) |
GraphMLEdgeStatus |
style(String key,
String value) |
String |
toString() |
public OnmsSeverity getSeverity()
public String computeStatus()
computeStatus
in interface Status
public Map<String,String> getStatusProperties()
getStatusProperties
in interface Status
public Map<String,String> getStyleProperties()
Status
getStyleProperties
in interface Status
public GraphMLEdgeStatus severity(OnmsSeverity severity)
public GraphMLEdgeStatus style(Map<String,String> style)
public GraphMLEdgeStatus style(String key, String value)
public static GraphMLEdgeStatus merge(GraphMLEdgeStatus s1, GraphMLEdgeStatus s2)
Copyright © 2017. All rights reserved.