Class WorkflowInfoSection

java.lang.Object
com.scivicslab.actoriac.report.WorkflowInfoSection
All Implemented Interfaces:
ReportSection

public class WorkflowInfoSection extends Object implements ReportSection
Report section for workflow metadata.

Displays workflow file path, name, and optional description. Returns null title to output content directly without a title line.

Since:
2.15.0
Author:
devteam@scivicslab.com
  • Field Details

  • Constructor Details

    • WorkflowInfoSection

      public WorkflowInfoSection(String workflowPath, String name, String description)
      Creates a workflow info section.
      Parameters:
      workflowPath - the workflow file path
      name - the workflow name
      description - the workflow description (may be null)
  • Method Details

    • getTitle

      public String getTitle()
      Description copied from interface: ReportSection
      Returns the section title.

      If null or empty, the section content is output without a title line.

      Specified by:
      getTitle in interface ReportSection
      Returns:
      the section title, or null for no title
    • getContent

      public String getContent()
      Description copied from interface: ReportSection
      Returns the section content.

      If null or empty, the section is skipped in the report.

      Specified by:
      getContent in interface ReportSection
      Returns:
      the section content