Package com.powsybl.iidm.network
Interface ReporterContext
- All Known Implementing Classes:
AbstractReporterContext
,MultiThreadReporterContext
,SimpleReporterContext
public interface ReporterContext
- Author:
- Olivier Perrin <olivier.perrin at rte-france.com>
-
Method Summary
Modifier and TypeMethodDescriptionGet the currentReporter
.Peek the currentReporter
.void
pushReporter
(Reporter reporter) Use the givenReporter
instead of the current one.
The reporters are stacked and the previous one should be restored later usingpopReporter()
.
-
Method Details
-
peekReporter
Reporter peekReporter()Peek the currentReporter
.- Returns:
- the last defined
Reporter
- See Also:
-
getReporter
Reporter getReporter()Get the currentReporter
.- Returns:
- the last defined
Reporter
- See Also:
-
pushReporter
Use the givenReporter
instead of the current one.
The reporters are stacked and the previous one should be restored later usingpopReporter()
.- Parameters:
reporter
- The new reporter to use.- See Also:
-
popReporter
Reporter popReporter()- Returns:
- the current
Reporter
- See Also:
-