Class JsonStateSection
java.lang.Object
com.scivicslab.actoriac.report.JsonStateSection
- All Implemented Interfaces:
ReportSection
Report section for actor JsonState data in YAML format.
Displays collected data from an actor's JsonState as YAML.
- Since:
- 2.15.0
- Author:
- devteam@scivicslab.com
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJsonStateSection(String actorName, String yamlContent) Creates a JsonState section. -
Method Summary
Modifier and TypeMethodDescriptionReturns the section content.getTitle()Returns the section title.
-
Field Details
-
actorName
-
yamlContent
-
-
Constructor Details
-
JsonStateSection
Creates a JsonState section.- Parameters:
actorName- the name of the actor whose data is displayedyamlContent- the YAML-formatted content from JsonState
-
-
Method Details
-
getTitle
Description copied from interface:ReportSectionReturns the section title.If null or empty, the section content is output without a title line.
- Specified by:
getTitlein interfaceReportSection- Returns:
- the section title, or null for no title
-
getContent
Description copied from interface:ReportSectionReturns the section content.If null or empty, the section is skipped in the report.
- Specified by:
getContentin interfaceReportSection- Returns:
- the section content
-