Package com.powsybl.commons.reporter
Class Reporter.NoOpImpl
- java.lang.Object
-
- com.powsybl.commons.reporter.AbstractReporter
-
- com.powsybl.commons.reporter.Reporter.NoOpImpl
-
- All Implemented Interfaces:
Reporter
- Enclosing interface:
- Reporter
public static class Reporter.NoOpImpl extends AbstractReporter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.powsybl.commons.reporter.Reporter
Reporter.NoOpImpl
-
-
Field Summary
-
Fields inherited from class com.powsybl.commons.reporter.AbstractReporter
defaultName, taskKey, taskValues
-
-
Constructor Summary
Constructors Constructor Description NoOpImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Reporter
createSubReporter(String taskKey, String defaultName, Map<String,TypedValue> values)
Create a sub-reporter for a specific task, to separate from current reports the reports from that task, with some associated values.void
report(Report report)
Add a new report-
Methods inherited from class com.powsybl.commons.reporter.AbstractReporter
createSubReporter, createSubReporter, createSubReporter, formatMessage, formatReportMessage, report, report, report, report
-
-
-
-
Method Detail
-
createSubReporter
public Reporter createSubReporter(String taskKey, String defaultName, Map<String,TypedValue> values)
Description copied from interface:Reporter
Create a sub-reporter for a specific task, to separate from current reports the reports from that task, with some associated values.- Parameters:
taskKey
- the key identifying that taskdefaultName
- a name or message describing the corresponding task, which may contain references to the provided valuesvalues
- a map ofTypedValue
indexed by their key, which may be referred to within the defaultName or within the reports message of the created sub-reporter- Returns:
- the new sub-reporter
-
-