Package org.opennms.web.event
Class EventUtil
- java.lang.Object
-
- org.opennms.web.event.EventUtil
-
public abstract class EventUtil extends Object
Abstract EventUtil class.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Field Summary
Fields Modifier and Type Field Description static intLAST_DAY_RELATIVE_TIMEConstantLAST_DAY_RELATIVE_TIME=5static intLAST_EIGHT_HOURS_RELATIVE_TIMEConstantLAST_EIGHT_HOURS_RELATIVE_TIME=3static intLAST_FOUR_HOURS_RELATIVE_TIMEConstantLAST_FOUR_HOURS_RELATIVE_TIME=2static intLAST_HOUR_RELATIVE_TIMEConstantLAST_HOUR_RELATIVE_TIME=1static intLAST_MONTH_RELATIVE_TIMEConstantLAST_MONTH_RELATIVE_TIME=7static intLAST_TWELVE_HOURS_RELATIVE_TIMEConstantLAST_TWELVE_HOURS_RELATIVE_TIME=4static intLAST_WEEK_RELATIVE_TIMEConstantLAST_WEEK_RELATIVE_TIME=6
-
Constructor Summary
Constructors Constructor Description EventUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FiltergetFilter(String filterString, javax.servlet.ServletContext servletContext)getFilterstatic List<Filter>getFilterList(String[] filterStrings, javax.servlet.ServletContext servletContext)static StringgetFilterString(Filter filter)getFilterStringstatic FiltergetRelativeTimeFilter(int relativeTime)getRelativeTimeFilter
-
-
-
Field Detail
-
LAST_HOUR_RELATIVE_TIME
public static final int LAST_HOUR_RELATIVE_TIME
ConstantLAST_HOUR_RELATIVE_TIME=1- See Also:
- Constant Field Values
-
LAST_FOUR_HOURS_RELATIVE_TIME
public static final int LAST_FOUR_HOURS_RELATIVE_TIME
ConstantLAST_FOUR_HOURS_RELATIVE_TIME=2- See Also:
- Constant Field Values
-
LAST_EIGHT_HOURS_RELATIVE_TIME
public static final int LAST_EIGHT_HOURS_RELATIVE_TIME
ConstantLAST_EIGHT_HOURS_RELATIVE_TIME=3- See Also:
- Constant Field Values
-
LAST_TWELVE_HOURS_RELATIVE_TIME
public static final int LAST_TWELVE_HOURS_RELATIVE_TIME
ConstantLAST_TWELVE_HOURS_RELATIVE_TIME=4- See Also:
- Constant Field Values
-
LAST_DAY_RELATIVE_TIME
public static final int LAST_DAY_RELATIVE_TIME
ConstantLAST_DAY_RELATIVE_TIME=5- See Also:
- Constant Field Values
-
LAST_WEEK_RELATIVE_TIME
public static final int LAST_WEEK_RELATIVE_TIME
ConstantLAST_WEEK_RELATIVE_TIME=6- See Also:
- Constant Field Values
-
LAST_MONTH_RELATIVE_TIME
public static final int LAST_MONTH_RELATIVE_TIME
ConstantLAST_MONTH_RELATIVE_TIME=7- See Also:
- Constant Field Values
-
-
Method Detail
-
getFilter
public static Filter getFilter(String filterString, javax.servlet.ServletContext servletContext)
getFilter
- Parameters:
filterString- aStringobject.- Returns:
- a org$opennms$web$filter$Filter object.
-
getFilterString
public static String getFilterString(Filter filter)
getFilterString
- Parameters:
filter- a org$opennms$web$filter$Filter object.- Returns:
- a
Stringobject.
-
getRelativeTimeFilter
public static Filter getRelativeTimeFilter(int relativeTime)
getRelativeTimeFilter
- Parameters:
relativeTime- a int.- Returns:
- a org$opennms$web$filter$Filter object.
-
-