public abstract class AbstractReportContext extends Object implements ReportContext
Constructor and Description |
---|
AbstractReportContext() |
Modifier and Type | Method and Description |
---|---|
Calendar |
getCalendar(String name,
String timezone)
This method returns the named calendar configured for the
specified timezone.
|
void |
logDebug(String mesg)
This method logs a debug message.
|
void |
logError(String mesg)
This method logs an error message.
|
void |
logInfo(String mesg)
This method logs an info message.
|
void |
logWarning(String mesg)
This method logs a warning message.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getService, getService
public void logError(String mesg)
logError
in interface ReportContext
mesg
- The errorpublic void logWarning(String mesg)
logWarning
in interface ReportContext
mesg
- The warningpublic void logInfo(String mesg)
logInfo
in interface ReportContext
mesg
- The infopublic void logDebug(String mesg)
logDebug
in interface ReportContext
mesg
- The debugpublic Calendar getCalendar(String name, String timezone)
getCalendar
in interface ReportContext
name
- The calendar nametimezone
- The timezone, or null if the default should be usedCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.