Class WorkflowDescriptionSectionIIAR
java.lang.Object
com.scivicslab.pojoactor.core.ActorRef<WorkflowDescriptionSection>
com.scivicslab.pojoactor.workflow.IIActorRef<WorkflowDescriptionSection>
com.scivicslab.actoriac.report.sections.basic.WorkflowDescriptionSectionIIAR
- All Implemented Interfaces:
com.scivicslab.pojoactor.core.CallableByActionName, AutoCloseable
public class WorkflowDescriptionSectionIIAR
extends com.scivicslab.pojoactor.workflow.IIActorRef<WorkflowDescriptionSection>
IIAR wrapper for
WorkflowDescriptionSection.
Exposes the POJO's methods as actions via @Action annotations.
Handles workflow path resolution and YAML parsing.
Usage in workflow YAML:
- actor: loader
method: createChild
arguments: ["reportBuilder", "wfDesc", "...WorkflowDescriptionSectionIIAR"]
- Since:
- 2.16.0
- Author:
- devteam@scivicslab.com
-
Field Summary
FieldsFields inherited from class com.scivicslab.pojoactor.core.ActorRef
actorName, actorSystem, object -
Constructor Summary
ConstructorsConstructorDescriptionWorkflowDescriptionSectionIIAR(String actorName, com.scivicslab.pojoactor.workflow.IIActorSystem system) Constructs the IIAR with a new POJO instance. -
Method Summary
Modifier and TypeMethodDescriptioncom.scivicslab.pojoactor.core.ActionResultcom.scivicslab.pojoactor.core.ActionResultprivate Stringprivate voidInitializes the POJO with workflow information from nodeGroup.private StringreadDescriptionFromYaml(String workflowPath) Methods inherited from class com.scivicslab.pojoactor.workflow.IIActorRef
callByActionName, hasAnnotatedAction, invokeAnnotatedAction, parseFirstArgumentMethods inherited from class com.scivicslab.pojoactor.core.ActorRef
ask, ask, askNow, clearJsonState, clearPendingMessages, close, createChild, expandVariables, getJsonBoolean, getJsonInt, getJsonString, getJsonString, getLastResult, getName, getNamesOfChildren, getParentName, hasJson, hasJsonState, initLogger, isAlive, json, putJson, setLastResult, setParentName, system, tell, tell, tellNow, toStringOfJson, toStringOfYaml
-
Field Details
-
logger
-
-
Constructor Details
-
WorkflowDescriptionSectionIIAR
public WorkflowDescriptionSectionIIAR(String actorName, com.scivicslab.pojoactor.workflow.IIActorSystem system) Constructs the IIAR with a new POJO instance.- Parameters:
actorName- the actor namesystem- the actor system
-
-
Method Details
-
initializeFromWorkflow
Initializes the POJO with workflow information from nodeGroup. -
getWorkflowPath
-
readDescriptionFromYaml
-
generate
-
getTitle
-