Package com.powsybl.iidm.network
Interface ReportNodeContext
- All Known Implementing Classes:
AbstractReportNodeContext
,MultiThreadReportNodeContext
,SimpleReportNodeContext
public interface ReportNodeContext
- Author:
- Olivier Perrin <olivier.perrin at rte-france.com>
-
Method Summary
Modifier and TypeMethodDescriptionGet the currentReportNode
.Peek the currentReportNode
.Pop the currentReportNode
(defined viaReportNode
) and restore the previous one.void
pushReportNode
(ReportNode reportNode) Use the givenReportNode
instead of the current one.
The reportNodes are stacked and the previous one should be restored later usingpopReportNode()
.
-
Method Details
-
peekReportNode
ReportNode peekReportNode()Peek the currentReportNode
.- Returns:
- the last defined
ReportNode
- See Also:
-
getReportNode
ReportNode getReportNode()Get the currentReportNode
.- Returns:
- the last defined
ReportNode
- See Also:
-
pushReportNode
Use the givenReportNode
instead of the current one.
The reportNodes are stacked and the previous one should be restored later usingpopReportNode()
.- Parameters:
reportNode
- The new reportNode to use.- See Also:
-
popReportNode
ReportNode popReportNode()Pop the currentReportNode
(defined viaReportNode
) and restore the previous one.- Returns:
- the current
ReportNode
- See Also:
-