|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.util.XLogUserFilterParam
public class XLogUserFilterParam
| Field Summary | |
|---|---|
static String |
DEBUG
|
static ThreadLocal<SimpleDateFormat> |
dt
|
static String |
END_TIME
|
static String |
LIMIT
|
static String |
LOG_LEVEL
|
static String |
RECENT_LOG_OFFSET
|
static String |
SEARCH_TEXT
|
static String |
START_TIME
|
| Constructor Summary | |
|---|---|
XLogUserFilterParam()
|
|
XLogUserFilterParam(Map<String,String[]> params)
Instantiates a new log user param. |
|
| Method Summary | |
|---|---|
Date |
getDate(String date)
Gets the date. |
Date |
getEndDate()
Gets the end date. |
int |
getEndOffset()
|
Date |
getEndTime()
|
int |
getLimit()
|
String |
getLogLevel()
Gets the log level. |
int |
getRecent()
|
String |
getSearchText()
Gets the search text. |
Date |
getStartDate()
Gets the start date. |
int |
getStartOffset()
|
boolean |
isDebug()
Checks if is debug. |
String |
toString()
|
void |
validateLogLevel(String loglevel)
Validate log level. |
void |
validateSearchText()
Validate search text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String START_TIME
public static final String END_TIME
public static final String SEARCH_TEXT
public static final String LOG_LEVEL
public static final String LIMIT
public static final String RECENT_LOG_OFFSET
public static final String DEBUG
public static final ThreadLocal<SimpleDateFormat> dt
| Constructor Detail |
|---|
public XLogUserFilterParam()
public XLogUserFilterParam(Map<String,String[]> params)
throws CommandException
params - the params
CommandException - the command exception| Method Detail |
|---|
public String getLogLevel()
public Date getStartDate()
public Date getEndDate()
public String getSearchText()
public void validateLogLevel(String loglevel)
throws CommandException
CommandException
public void validateSearchText()
throws CommandException
CommandException - the command exceptionpublic Date getDate(String date)
String - date
public boolean isDebug()
public Date getEndTime()
public int getEndOffset()
public int getRecent()
public int getLimit()
public int getStartOffset()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||