Package com.axelor.workflow.view
Class WorkflowRunViewService
java.lang.Object
com.axelor.workflow.view.WorkflowRunViewService
Assembles the viewer's answer for one run.
MetaWorkflowRunController decides who may
look; this class fills in the admin-tier extras when told the reader is an administrator.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcalledVia(WorkflowGraphView graph, String subflowNode) "call"or"boundary", from the kind ofsubflowNodeingraph; null when it is blank or not in the graph.graphOf(MetaWorkflowRun run) The graph this run walks, at its pinned revision, with expressions withheld.graphOf(MetaWorkflowRun run, boolean admin) The run, drawn.
-
Constructor Details
-
WorkflowRunViewService
public WorkflowRunViewService()
-
-
Method Details
-
view
The run, drawn. Returns null when there is no such run. -
calledVia
"call"or"boundary", from the kind ofsubflowNodeingraph; null when it is blank or not in the graph. Shared withMetaWorkflowRunController. -
graphOf
The graph this run walks, at its pinned revision, with expressions withheld. Public forMetaWorkflowRunController's call-or-boundary question. -
graphOf
- Parameters:
admin- whether expressions may be drawn; seeWorkflowGraphBuilder
-