org.opennms.web.event
Class EventUtil

java.lang.Object
  extended by org.opennms.web.event.EventUtil

public abstract class EventUtil
extends Object


Field Summary
static int LAST_DAY_RELATIVE_TIME
           
static int LAST_EIGHT_HOURS_RELATIVE_TIME
           
static int LAST_FOUR_HOURS_RELATIVE_TIME
           
static int LAST_HOUR_RELATIVE_TIME
           
static int LAST_MONTH_RELATIVE_TIME
           
static int LAST_TWELVE_HOURS_RELATIVE_TIME
           
static int LAST_WEEK_RELATIVE_TIME
           
 
Constructor Summary
EventUtil()
           
 
Method Summary
static Filter getFilter(String filterString)
           
static String getFilterString(Filter filter)
           
static Filter getRelativeTimeFilter(int relativeTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

EventUtil

public EventUtil()
Method Detail

getFilter

public static Filter getFilter(String filterString)

getFilterString

public static String getFilterString(Filter filter)

getRelativeTimeFilter

public static Filter getRelativeTimeFilter(int relativeTime)


Copyright © 2009. All Rights Reserved.