|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.statistics.LogLine
public class LogLine
This class represents a single log file line and the operations that can be performed on it The components that it represents are: Date, Level, User, Action, and additional Params
| Method Summary | |
|---|---|
boolean |
afterDate(Date date)
find out if this log file line is after the given date |
boolean |
beforeDate(Date date)
find out if this log file line is before the given date |
String |
getAction()
get the action being performed |
Date |
getDate()
get the date of the log line |
String |
getLevel()
get the level of this log line |
String |
getParams()
get the parameters associated with the action |
String |
getUser()
get the user performing the logged action |
boolean |
isAction(String action)
find out if the log line is of the given action. |
boolean |
isLevel(String level)
find out if the log line is of the given level. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Date getDate()
public String getLevel()
public String getUser()
public String getAction()
public String getParams()
public boolean beforeDate(Date date)
date - the date to be compared to
public boolean afterDate(Date date)
date - the date to be compared to
public boolean isLevel(String level)
level - the level we want to test for
public boolean isAction(String action)
action - the action we want to test for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||