|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.web.element.ElementUtil
Field Summary | |
static int |
DEFAULT_TRUNCATE_THRESHOLD
|
protected static java.util.HashMap |
interfaceStatusMap
Do not use directly. |
protected static java.util.HashMap |
serviceStatusMap
Do not use directly. |
Constructor Summary | |
private |
ElementUtil()
Private constructor so this class cannot be instantiated. |
Method Summary | |
protected static java.util.Map |
getInterfaceStatusMap()
Returns the interface status map, initializing a new one if necessary. |
static java.lang.String |
getInterfaceStatusString(char c)
Return the human-readable name for a interface status character, may be null. |
static java.lang.String |
getInterfaceStatusString(Interface intf)
Return the human-readable name for a interface's status, may be null. |
protected static java.util.Map |
getServiceStatusMap()
Returns the service status map, initializing a new one if necessary. |
static java.lang.String |
getServiceStatusString(char c)
Return the human-readable name for a service status character, may be null. |
static java.lang.String |
getServiceStatusString(Service svc)
Return the human-readable name for a service's status, may be null. |
static java.lang.String |
truncateLabel(java.lang.String label)
|
static java.lang.String |
truncateLabel(java.lang.String label,
int truncateThreshold)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static java.util.HashMap interfaceStatusMap
getInterfaceStatusMap
instead.
protected static java.util.HashMap serviceStatusMap
getServiceStatusMap
instead.
public static final int DEFAULT_TRUNCATE_THRESHOLD
Constructor Detail |
private ElementUtil()
Method Detail |
protected static java.util.Map getInterfaceStatusMap()
public static java.lang.String getInterfaceStatusString(Interface intf)
public static java.lang.String getInterfaceStatusString(char c)
protected static java.util.Map getServiceStatusMap()
public static java.lang.String getServiceStatusString(Service svc)
public static java.lang.String getServiceStatusString(char c)
public static java.lang.String truncateLabel(java.lang.String label)
public static java.lang.String truncateLabel(java.lang.String label, int truncateThreshold)
|
OpenNMS API 1.2.3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |