@Immutable public class CellLog extends Object implements TransformationLog
Constructor and Description |
---|
CellLog(ReportLog<TransformationMessage> log,
Cell cell)
Create a transformation log based on the given cell
|
Modifier and Type | Method and Description |
---|---|
TransformationMessage |
createMessage(String message,
Throwable throwable)
Create a message configured with the current cell for use with the log
|
void |
error(TransformationMessage message)
Adds an error to the report.
|
void |
info(TransformationMessage message)
Adds an info to the report.
|
void |
warn(TransformationMessage message)
Adds a warning to the report.
|
public CellLog(ReportLog<TransformationMessage> log, Cell cell)
log
- the transformation message report log to decoratecell
- the cell the transformation messages shall be associated topublic void warn(TransformationMessage message)
ReportLog
warn
in interface ReportLog<TransformationMessage>
message
- the warning messageReportLog.warn(Message)
public void error(TransformationMessage message)
ReportLog
error
in interface ReportLog<TransformationMessage>
message
- the error messageReportLog.error(Message)
public TransformationMessage createMessage(String message, Throwable throwable)
TransformationLog
createMessage
in interface TransformationLog
message
- the message stringthrowable
- a throwable associated to the message, may be
null
TransformationLog.createMessage(String, Throwable)
public void info(TransformationMessage message)
ReportLog
info
in interface ReportLog<TransformationMessage>
message
- the info messageReportLog.info(eu.esdihumboldt.hale.common.core.report.Message)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a