org.opennms.web.event
Class EventUtil
java.lang.Object
org.opennms.web.event.EventUtil
public abstract class EventUtil
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
colors
protected static final java.util.Map<java.lang.Integer,java.lang.String> colors
classes
protected static final java.util.Map<java.lang.Integer,java.lang.String> classes
labels
protected static final java.util.Map<java.lang.Integer,java.lang.String> labels
sortStyles
protected static final java.util.Map<EventFactory.SortStyle,java.lang.String> sortStyles
sortStylesString
protected static final java.util.Map<java.lang.String,EventFactory.SortStyle> sortStylesString
ackTypes
protected static final java.util.Map<EventFactory.AcknowledgeType,java.lang.String> ackTypes
ackTypesString
protected static final java.util.Map<java.lang.String,EventFactory.AcknowledgeType> ackTypesString
severities
protected static final java.util.List<java.lang.Integer> severities
ANY_SERVICES_OPTION
public static final java.lang.String ANY_SERVICES_OPTION
- See Also:
- Constant Field Values
ANY_SEVERITIES_OPTION
public static final java.lang.String ANY_SEVERITIES_OPTION
- See Also:
- Constant Field Values
ANY_RELATIVE_TIMES_OPTION
public static final java.lang.String ANY_RELATIVE_TIMES_OPTION
- See Also:
- Constant Field Values
LAST_HOUR_RELATIVE_TIME
public static final int LAST_HOUR_RELATIVE_TIME
- See Also:
- Constant Field Values
LAST_FOUR_HOURS_RELATIVE_TIME
public static final int LAST_FOUR_HOURS_RELATIVE_TIME
- See Also:
- Constant Field Values
LAST_EIGHT_HOURS_RELATIVE_TIME
public static final int LAST_EIGHT_HOURS_RELATIVE_TIME
- See Also:
- Constant Field Values
LAST_TWELVE_HOURS_RELATIVE_TIME
public static final int LAST_TWELVE_HOURS_RELATIVE_TIME
- See Also:
- Constant Field Values
LAST_DAY_RELATIVE_TIME
public static final int LAST_DAY_RELATIVE_TIME
- See Also:
- Constant Field Values
LAST_WEEK_RELATIVE_TIME
public static final int LAST_WEEK_RELATIVE_TIME
- See Also:
- Constant Field Values
LAST_MONTH_RELATIVE_TIME
public static final int LAST_MONTH_RELATIVE_TIME
- See Also:
- Constant Field Values
EventUtil
public EventUtil()
getSeverityList
public static java.util.List getSeverityList()
getSeverityId
public static int getSeverityId(int index)
getSeverityColor
public static java.lang.String getSeverityColor(int severity)
getSeverityClass
public static java.lang.String getSeverityClass(int severity)
getSeverityLabel
public static java.lang.String getSeverityLabel(int severity)
getSortStyle
public static EventFactory.SortStyle getSortStyle(java.lang.String sortStyleString)
getSortStyleString
public static java.lang.String getSortStyleString(EventFactory.SortStyle sortStyle)
getAcknowledgeType
public static EventFactory.AcknowledgeType getAcknowledgeType(java.lang.String ackTypeString)
getAcknowledgeTypeString
public static java.lang.String getAcknowledgeTypeString(EventFactory.AcknowledgeType ackType)
getFilter
public static Filter getFilter(java.lang.String filterString)
getFilterString
public static java.lang.String getFilterString(Filter filter)
getRelativeTimeFilter
public static Filter getRelativeTimeFilter(int relativeTime)
Copyright © 2007. All Rights Reserved.