|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objecthirondelle.web4jtools.logview.parsedview.ParsedCriteria
public final class ParsedCriteria
Model Object for the criteria used for viewing parsed log records.
This class is immutable, and makes defensive copies.
Constructor Summary | |
---|---|
ParsedCriteria(SafeText aLogFor,
SafeText aLevel,
Date aMinDate,
Date aMaxDate,
SafeText aLoggerStartsWith,
SafeText aMethodName,
SafeText aLogMessageContains,
Boolean aReverseOrder)
Full constructor. |
Method Summary | |
---|---|
boolean |
equals(Object aThat)
|
static ParsedCriteria |
forDowntimeListing()
Return an instance having FINEST level for application logs. |
static ParsedCriteria |
forStats(String aLogFor)
Return an instance having FINEST level for the given log. |
(package private) Level |
getLevel()
|
LogFor |
getLogFor()
|
(package private) SafeText |
getLoggerStartsWith()
|
(package private) SafeText |
getLogMessageContains()
|
(package private) Date |
getMaxDate()
|
(package private) SafeText |
getMethodName()
|
(package private) Date |
getMinDate()
|
Boolean |
getReverseOrder()
|
int |
hashCode()
|
boolean |
passes(LoggerRecord aRecord)
Return true only if the given logger record passes these criteria. |
String |
toString()
|
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ParsedCriteria(SafeText aLogFor, SafeText aLevel, Date aMinDate, Date aMaxDate, SafeText aLoggerStartsWith, SafeText aMethodName, SafeText aLogMessageContains, Boolean aReverseOrder) throws ModelCtorException
aLogFor
- either application log or server log (required).aLevel
- minimum JDK Logger Level (required); any record at this level or higher will be displayed.aMinDate
- minimum Date for log message (cannot come after aMaxDate).aMaxDate
- maximum Date for log messages.aLoggerStartsWith
- logger/package name starts with this text.aMethodName
- name of the method emitting the log message.aLogMessageContains
- log message must contain this text.aReverseOrder
- doesn't filter records, but rather sorts them in reverse order, placing most recent first.
ModelCtorException
Method Detail |
---|
public static ParsedCriteria forDowntimeListing()
public static ParsedCriteria forStats(String aLogFor) throws ModelCtorException
ModelCtorException
public LogFor getLogFor()
Level getLevel()
Date getMinDate()
Date getMaxDate()
SafeText getLoggerStartsWith()
SafeText getMethodName()
SafeText getLogMessageContains()
public Boolean getReverseOrder()
public boolean passes(LoggerRecord aRecord)
public String toString()
toString
in class Object
public boolean equals(Object aThat)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |