|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjpl.pds.parser.RunLog
public class RunLog
Captures the output to the command line window. Counts errors and warnings. Returns the runlog as a string for returning in the HTTP stream.
Constructor Summary | |
---|---|
RunLog()
|
Method Summary | |
---|---|
void |
append(String msg,
int indent)
Adds the message to the run log buffer but skips writing to the command line window. |
void |
errorMessage(String msg,
int indent)
Writes the message to the command line window and the log buffer and increments the number of errors. |
boolean |
foundErrorsWarnings()
Checks if any errors or warnings were found. |
int |
getErrorCount()
Gets the error count. |
int |
getWarningCount()
Gets the warning count. |
String |
toString()
Return the runlog as a String. |
void |
warningMessage(String msg,
int indent)
Writes the message to the command line window and the log buffer and increments the number of warnings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RunLog()
Method Detail |
---|
public final String toString()
toString
in class Object
public final void append(String msg, int indent)
msg
- Message to append to the log buffer.indent
- Number of spaces to prepend.public final void errorMessage(String msg, int indent)
msg
- Message to write.indent
- Number of spaces to prepend.public final void warningMessage(String msg, int indent)
msg
- Message to write.indent
- Number of spaces to prepend.public final boolean foundErrorsWarnings()
public final int getErrorCount()
public final int getWarningCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |