Class WorkflowFileSection
java.lang.Object
com.scivicslab.actoriac.report.sections.basic.WorkflowFileSection
- All Implemented Interfaces:
SectionBuilder
POJO section builder that outputs the workflow file path.
Pure business logic - no CallableByActionName.
Use WorkflowFileSectionIIAR to expose as an actor.
Output example:
[Workflow File] workflows/main-cluster-status.yaml
- Since:
- 2.16.0
- Author:
- devteam@scivicslab.com
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
workflowPath
-
-
Constructor Details
-
WorkflowFileSection
public WorkflowFileSection()
-
-
Method Details
-
setWorkflowPath
Sets the workflow file path.- Parameters:
path- the workflow file path
-
generate
Description copied from interface:SectionBuilderGenerates the section content.- Specified by:
generatein interfaceSectionBuilder- Returns:
- the section content as a string
-
getTitle
Description copied from interface:SectionBuilderReturns the section title.If null or empty, the section content is output without a title line.
- Specified by:
getTitlein interfaceSectionBuilder- Returns:
- the section title, or null for no title
-