java.lang.Object
com.powsybl.commons.reporter.Report
A class representing a functional log, consisting of a key identifying the report, a map of
TypedValue
indexed
by their keys, and a default report message string, which may contain references to those values or to the values
of corresponding Reporter
.- Author:
- Florian Dupuy <florian.dupuy at rte-france.com>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ReportBuilder
builder()
static Report
parseJsonNode
(com.fasterxml.jackson.databind.JsonNode jsonNode, Map<String, String> dictionary, com.fasterxml.jackson.core.ObjectCodec codec)
-
Field Details
-
REPORT_SEVERITY_KEY
- See Also:
-
-
Constructor Details
-
Report
Constructor- Parameters:
reportKey
- a key identifying the current reportdefaultMessage
- the default report message, which may contain references to the provided values or to the values of correspondingReporter
.values
- a map ofTypedValue
indexed by their key, which may be referred to within the defaultMessage provided
-
-
Method Details
-
builder
-
getDefaultMessage
-
getReportKey
-
getValue
-
getValues
-
parseJsonNode
public static Report parseJsonNode(com.fasterxml.jackson.databind.JsonNode jsonNode, Map<String, String> dictionary, com.fasterxml.jackson.core.ObjectCodec codec) throws IOException- Throws:
IOException
-