Package step.core.artefacts.reports
Class ReportTreeVisitor
java.lang.Object
step.core.artefacts.reports.ReportTreeVisitor
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRootReportNode
(String executionId) void
visit
(String executionId, Consumer<ReportTreeVisitor.ReportNodeEvent> consumer) void
visit
(String executionId, ReportNodeVisitorEventHandler reportNodeVisitorEventHandler) Visits the report tree of an execution using a an event based handlerprotected void
visitChildrenWithEvents
(ReportNode root, Stack<ReportNode> stack, Consumer<ReportTreeVisitor.ReportNodeEvent> consumer) protected void
visitChildrenWithHandler
(ReportNode root, Stack<ReportNode> stack, ReportNodeVisitorEventHandler reportNodeVisitorEventHandler) void
visitNodes
(String executionId, Consumer<ReportNode> consumer)
-
Constructor Details
-
ReportTreeVisitor
-
-
Method Details
-
getRootReportNode
-
visitNodes
-
visit
Visits the report tree of an execution using a an event based handler- Parameters:
executionId
- the ID of the execution to be visitedreportNodeVisitorEventHandler
- the event handler to be used
-
visit
-
visitChildrenWithEvents
protected void visitChildrenWithEvents(ReportNode root, Stack<ReportNode> stack, Consumer<ReportTreeVisitor.ReportNodeEvent> consumer) -
visitChildrenWithHandler
protected void visitChildrenWithHandler(ReportNode root, Stack<ReportNode> stack, ReportNodeVisitorEventHandler reportNodeVisitorEventHandler)
-