public class CmsShellLogReport extends CmsShellReport
LINEBREAK, LINEBREAK_TRADITIONALFORMAT_DEFAULT, FORMAT_ERROR, FORMAT_HEADLINE, FORMAT_NOTE, FORMAT_OK, FORMAT_WARNING, REPORT_TYPE_EXTENDED, REPORT_TYPE_SIMPLE| Constructor and Description |
|---|
CmsShellLogReport(java.util.Locale locale)
public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
print(CmsMessageContainer container)
Prints a localized message to the report.
|
void |
print(CmsMessageContainer container,
int format)
Prints a localized message to the report, using the indicated formatting.
|
void |
println()
Adds a line break to the report.
|
void |
println(CmsMessageContainer container)
Prints a localized message to the report.
|
void |
println(CmsMessageContainer container,
int format)
Prints a localized message to the report, using the indicated formatting.
|
void |
printMessageWithParam(CmsMessageContainer container,
java.lang.Object param)
Prints a localized message followed by a parametera and dots to the report.
|
void |
printMessageWithParam(int m,
int n,
CmsMessageContainer container,
java.lang.Object param)
Convenience method to print a localized message, followed by a parameter and dots to the report.
|
addError, getOutputStream, getReportUpdate, println, startclose, finish, getLineBreak, printisWriteHtmladdWarning, formatRuntime, getErrors, getLastEntryTime, getLocale, getMessages, getReportUpdate, getRuntime, getSiteRoot, getWarnings, hasError, hasWarning, init, print, println, println, removeSiteRoot, resetRuntime, setLastEntryTimepublic CmsShellLogReport(java.util.Locale locale)
locale - localepublic void print(CmsMessageContainer container)
I_CmsReportprint in interface I_CmsReportprint in class CmsShellReportcontainer - the String to addA_CmsReport.print(org.opencms.i18n.CmsMessageContainer)public void print(CmsMessageContainer container, int format)
I_CmsReport
Use the contants starting with FORMAT from this interface
to indicate which formatting to use.
print in interface I_CmsReportprint in class CmsShellReportcontainer - the String to addformat - the formatting to use for the outputA_CmsReport.print(org.opencms.i18n.CmsMessageContainer, int)public void println()
I_CmsReportprintln in interface I_CmsReportprintln in class CmsShellReportCmsPrintStreamReport.println()public void println(CmsMessageContainer container)
I_CmsReportprintln in interface I_CmsReportprintln in class CmsShellReportcontainer - the message container to addA_CmsReport.println(org.opencms.i18n.CmsMessageContainer)public void println(CmsMessageContainer container, int format)
I_CmsReport
Use the contants starting with FORMAT from this interface
to indicate which formatting to use.
println in interface I_CmsReportprintln in class CmsShellReportcontainer - the message container to addformat - the formatting to use for the outputA_CmsReport.println(org.opencms.i18n.CmsMessageContainer, int)public void printMessageWithParam(CmsMessageContainer container, java.lang.Object param)
I_CmsReportprintMessageWithParam in interface I_CmsReportprintMessageWithParam in class CmsShellReportcontainer - the Message to addparam - the Parameter to addA_CmsReport.printMessageWithParam(org.opencms.i18n.CmsMessageContainer, java.lang.Object)public void printMessageWithParam(int m, int n, CmsMessageContainer container, java.lang.Object param)
I_CmsReportThe output follows the pattern: ( 3 / 8 ) Deleting filename.txt ...
printMessageWithParam in interface I_CmsReportprintMessageWithParam in class CmsShellReportm - the number of the report outputn - the total number of report outputscontainer - the Message to addparam - the Parameter to addA_CmsReport.printMessageWithParam(int, int, org.opencms.i18n.CmsMessageContainer, java.lang.Object)