Class CheckResultsSection

java.lang.Object
com.scivicslab.actoriac.report.sections.basic.CheckResultsSection
All Implemented Interfaces:
SectionBuilder

public class CheckResultsSection extends Object implements SectionBuilder
POJO section builder that collects and outputs messages with % prefix.

Pure business logic - no CallableByActionName. Use CheckResultsSectionIIAR to expose as an actor.

The % prefix is used in workflows to mark lines that should be collected and displayed in the final report. This is useful for check/status reporting:

Usage in workflows:

- actor: this
  method: executeCommand
  arguments:
    - |
      if command -v node > /dev/null; then
        echo "%[OK] Node.js: $(node --version)"
      else
        echo "%[ERROR] Node.js: not found"
      fi

Output example:

[Check Results]
[OK] Node.js: v18.0.0
[OK] yarn: 1.22.19
[ERROR] Maven: not found
Since:
2.16.0
Author:
devteam@scivicslab.com