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